Tools, FAQ, Tutorials:
HTML Ordered List 'ol' Tag/Element
What Is an "ol" Tag/Element?
✍: FYIcenter.com
An "ol" element is block level element that can be used to define
an ordered list, where items are displayed with leading sequential numbers.
Here are basic rules about "ol" elements:
Below is a good tutorial example of "ol" elements:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Ordered Lists</title> </head> <body> <p>The most visited sites in 'Computers' category:</p> <ol> <li>Yahoo! - www.yahoo.com</li> <li>Google - www.google.com</li> <li>MSN - www.msn.com</li> </ol> </body> </html>
If you save the above document as ordered_list.html, and view it with
Internet Explorer, you will see a list of items with leading sequential numbers
as shown below:
Â
⇒⇒HTML Tutorials
2017-06-16, 1175👍, 0💬
Popular Posts:
How to create Hello-3.1.epub with WinRAR? I have all required files to create Hello-3.1.epub. To cre...
How Values in Arrays Are Indexed in PHP? Values in an array are all indexed their corresponding keys...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How to run PowerShell Commands in Dockerfile to change Windows Docker images? When building a new Wi...
How to Create a New Instance of a Class? There are two ways to create a new instance (object) of a c...