What is the purpose of using start attribute used in lists?

4 views

1 Answers

This attribute is used to change the beginning value of an ordered list. Normally, the ordered list begins with 1. It lets you further customize an HTML ordered list by setting a new starting digit for the ordered list element.

Syntax

    e.g.

    </p> <p>Ordered List with type attribute</p> <p>

    <0L start=‘1" type=“1” >

  1. Rose
  2. Lotus
  3. Lily

Output

1. Rose

2. Lotus

3. Lily

4 views