HTML ol tag
ol stands for ordered list. HTML <ol> tag defines ordered list in which the order of list items is necessary. In an ordered list, list items are numbered numerically or alphabetically.
<p>Procedure to make a recipie(with order)</p>
<ol>
<li>place all ingredients except the kitchen in the crock pot.
<li>stir until mixed.
<li>add the chicken and coat well with the sauce.
<li>cover and cook on higher for 2-3 hours or on low for 7-8 hours.
</ol>
Try </>
Procedure to make a recipie(with order)
- place all ingredients except the kitchen in the crock pot.
- stir until mixed.
- add the chicken and coat well with the sauce.
- cover and cook on higher for 2-3 hours or on low for 7-8 hours.
Tag Uses
Specific uses of <ol> tagLists where the order is also under consideration. For example, a sequence of instructions.
Tag omission
Both opening and closing tags are necessary for the ol element.
Global Attributes
All the global attributes are applicable on the ol tag.
Next Previous
Was this article helpful?