9.
Write an HTML code to create the following ordered list.
C. Apples
D. Oranges
E. Grapes
Home/ Indian/Computer Science/9.
Write an HTML code to create the following ordered list.
C. Apples
D. Oranges
E. Grapes
Write an HTML code to create the following ordered list.
C. Apples
D. Oranges
E. Grapes
<ol>: The Ordered List element
The <ol> HTML element represents an ordered list of items — typically rendered as a numbered list.
Flow content, and if the <ol> element's children include at least one <li> element, palpable content. |
Zero or more <li>, <script> and <template> elements. |
None, both the starting and ending tag are mandatory. |
Any element that accepts flow content. |
list |
directory, group, listbox, menu, menubar, none, presentation, radiogroup, tablist, toolbar, tree |
HTMLOListElement |