<li value="">

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Attribute of
<li> HTML Tag
What does <li value=""> do?
Specifies the counter value for a list item within a numbered list.

Code Example

<ol>
 <li>One</li>
 <li>Two</li>
 <li>Skip a few</li>
 <li value="99">Ninety Nine</li>
 <li>a hundred</li>
</ol>
  1. One
  2. Two
  3. Skip a few
  4. Ninety Nine
  5. a hundred
Adam is a technical writer who specializes in developer documentation and tutorials.

Browser Support for value

iefirefoxchromeedgesafariopera
AllAllAllAllAllAll