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:
2017-06-16, ∼2649🔥, 0💬
Popular Posts:
How To Access a Specific Character in a String? Any character in a string can be accessed by a speci...
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...
How To Merge Cells in a Column? If you want to merge multiple cells vertically in a row, you need to...
How to create a new API on the Publisher Dashboard of an Azure API Management Service? If you are ne...
Tools, FAQ, Tutorials: JSON Validator JSON-XML Converter XML-JSON Converter JSON FAQ/Tutorials Pytho...