li value='' - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:li

Introduction

You can use the value attribute to create nonconsecutive ordered lists.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
   <head> 
      <title>Example</title> 
   </head> 
   <body>
       I like: <!-- w ww . j a  v a  2s.  com-->
      <ol> 
         <li>CSS</li> 
         <li value="4">HTML</li> 
         <li>Java</li> 
         <li value="7">SQL</li> 
         <li>Javascript</li> 
         <li>Javascript</li> 
      </ol>  
   </body>
</html>

Related Tutorials