[Medical][=oculus laevus] (pull) left eye

html ol tag syntax

Function: Define an ordered list.

Note: In HTML 4.01, the "compact", "start" and "type" attributes of the ol element are deprecated. In XHTML 1.0 Strict DTD, the "compact", "start" and "type" attributes of the ol element are not supported.

Note: Please use CSS to define the type of the list.

html ol tag example

<!DOCTYPE html>
<html>
<body>

<ol>
  <li>咖啡</li>
  <li>牛奶</li>
  <li>茶</li>
</ol>

<ol start="50">
  <li>咖啡</li>
  <li>牛奶</li>
  <li>茶</li>
</ol>
 
</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance