HTML CSS examples for HTML Tag:li
You can use the value attribute to create nonconsecutive ordered lists.
<!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>