Tutorialspoint

HTML li value Attribute

<!DOCTYPE html>
<html>
   <body>
      <h1>Subjects</h1>
      <p>Following are the subjects:</p>
      <ol>
         <li>Maths</li>
         <li>Science</li>
         <li>English</li>
         <li>French</li>
      </ol>
      <p>Remaining subjects:</p>
      <ol>
         <li value="5">Coffee</li>
         <li>Accounts</li>
         <li>Programming</li>
         <li>Networking</li>
      </ol>
   </body>
</html>

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.