Logo
  Sunday, May 20, 2012
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

The HTML5 <ol> Tag  
The formal definition of the HTML5 <ol> tag is that it specifies an ordered list. This works with <li> tag because it identifies the list items.

The use of HTML <ol> tag has minimal difference in HTML5 and HTML4.01. There are just some minimal aspects that have been altered. That includes the use of start and type attributes. These are considered obsolete in HTML4.01 but are reused in HTML5. An additional attribute is also added the HTML5 which is the reversed attribute.

Compatibility is not an issue with HTML5 <ol> tag. It is applicable for both the Global Attributes and Events Attributes in HTML5. The HTML5 <ol> tag is also accepted in all common browsers like Firefox, Safari, Opera, Internet Explorer and Google Chrome.

The following attributes are used for HTML5 <ol> tag:

Attribute

Value

Description

reversed

reversed

This is used when the numbering for the list is descending (For example: 6,5,4…)

start

number

This is used for indicating the first value for the items in the ordered list

type

1
A
a
I
i

It is important when indicating what type of marker will be utilized in the list

Print HTML5 <ol> Tag Bookmark HTML5 <ol> Tag

Related Articles  
The HTML5 <small> Tag
If there are smaller texts and side comments that have to be placed in the HTML document, the HTML5 <small> tag ...
The HTML5 <article> Tag
The HTML5 <article> tag is an indicator of a content that can stand on its own. This means that even if that ...
The HTML5 <video> Tag
The HTML5 <video> tag is the main tool of the author to add some movie clip or video stream within a document.
The HTML5 <textarea> Tag
The HTML5 <textarea> tag is essential for HTML document because this specifies a multi-line text input control.
The HTML5 <button> tag
The HTML5 <button> tag is an element in HTML5 which defines a clickable button. The HTML5 <button> tag is ...
The HTML5 <bdo> Tag
The HTML5 <bdo> tag is a formatting element which is used to override the current text direction. It is used to ...
More