What is a <ol> tag?
Experience Level: Junior
Tags: HTML
Answer
The
Example
<ol>
tag:
- Define numbered list of item.
- Is connected with
<li>
tag, - Is good to use for example: receipt, or positioning.
<html>
<head>
...
</head>
<body>
<ol>
<li>Ant</li>
<li>Bear</li>
<li>Chimpanzee</li>
</ol>
</body>
</html>
Related HTML job interview questions
What is a <fieldset> tag?
HTML JuniorWhat is a <script> tag?
HTML JuniorWhat is a <li> tag?
HTML JuniorWhat is a <ul> tag?
HTML JuniorWhat is a <input> tag?
HTML Junior