ol start Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:ol

Description

The start attribute sets the start value of the first list item in an ordered list.

Attribute Values

Value Description
number Specifies the start value of the first list item in the ordered list

The following code shows how to create an ordered list starting at "50":

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<ol start="50">
  <li>C</li>
  <li>A</li>
  <li>B</li>
</ol><!--from   w ww.j  a v a2  s.c om-->

<ol type="I" start="50">
  <li>C</li>
  <li>A</li>
  <li>B</li>
</ol>

</body>
</html>

Related Tutorials