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

HTML5 Tutorial FeedBurner

The HTML5 <legend> Tag   
The primary reason why authors of HTML documents have to use HTML5 <legend> tag is because this is important in providing caption for the <figure>, <fieldset> and <details> elements.

The use of the HTML5 <legend> tag is slightly different as compared to how it is utilized in HTML4.01. In HTML 4.01 the <legend> tag is applicable only for <fieldset> element. For HTML5, this tag is also used for <figure> and <details> elements. Aside from those aspects, align attribute can be used for HTML4.01. On the other hand, this is not accepted in HTML5 anymore because CSS has to be used for formatting.

There is no problem when using the HTML5 <legend> tag. It is compatible with both the Global Attributes and Events Attributes in HTML5. Aside from that, HTML5 <legend> tag is applicable for all the major web browsers like Google Chrome, Internet Explorer, Safari, Opera and Firefox.

Print HTML5 <legend> Tag Bookmark HTML5 <legend> Tag

Related Articles  
The HTML5 <basefont> Tag
The <basefont> tag is not supported in HTML5. This tag is used to set the default font color, font size, and font ...
The HTML5 <cite> Tag
The HTML5 <cite> tag is necessary when indicating the title of a specific work that is incorporated in the HTML ...
The HTML5 <form> Tag
The HTML5 <form> tag is utilized such that a form that can be answered by the user may be incorporated within the ...
The HTML5 <frame> Tag
The HTML <frame> tag is not supported in HTML5. Before the use of HTML5, the HTML <frame> tag is utilized ...
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 <small> Tag
If there are smaller texts and side comments that have to be placed in the HTML document, the HTML5 <small> tag ...
More