MENU
Question -

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



Answer -

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

Syntax


    e.g.
     
    </div><div>Ordered List with type attribute</div><div>
    <0L start=‘1" type=“1” >
  1. Rose
  2. Lotus
  3. Lily
  4. Output

    1. Rose
    2. Lotus
    3. Lily

    Comment(S)

    Show all Coment

    Leave a Comment

    Free - Previous Years Question Papers
    Any questions? Ask us!
    ×