<i>

The <i> tag is supported in all major browsers.


Definition and Usage

The <i> tag defines a part of text in an alternate voice or mood. The <i>  tag is typically displayed in italic type.

The <i> tag can be used to indicate a technical term, a phrase from another language, a thought, or a ship name, etc.

Use the <i> element only when there is not a more appropriate semantic  element, such as:


Differences Between HTML 4.01 and HTML5

In HTML 4.01, the <i> tag was used to render text in italics. However, this  is not necessarily the case with HTML5. Style sheets can be used to format the  text in the <i> element.


Global Attributes

The <i> tag also supports the Global attributes in HTML5.


Event Attributes

The <i> tag also supports the Global Event Attributes in HTML5.

<html>

The <html> tag is supported in all major browsers.


Definition and Usage

The <html> tag represents the root of an HTML document.

The <html> tag is the container for all other HTML elements (except for the<!DOCTYPE> tag).


Differences Between HTML 4.01 and HTML5

HTML5 has a new attribute: manifest.


Attributes

New : New in HTML5.

AttributeValueDescription
manifest New URL Specifies the address of the document's cache manifest (for offline browsing)
xmlns http://www.w3.org/1999/xhtml Specifies the XML namespace attribute (If you need your content to conform to XHTML)

Global Attributes

The <html> tag also supports the Global attributes in HTML5.

<hr>

The <hr> tag is supported in all major browsers.


Definition and Usage

The <hr> tag defines a thematic break in an HTML page (e.g. a shift of  topic).

The <hr> element is used to separate content (or define a change) in an  HTML page.


Differences Between HTML 4.01 and HTML5

In HTML 4.01, the <hr> tag represented a horizontal rule.

In HTML5, the <hr> tag defines a thematic break.

However, the <hr> tag may still be displayed as a horizontal rule in visual  browsers, but is now defined in semantic terms, rather than presentational  terms.

All layout attributes (align, noshade, size, and width) in HTML 4.01 was deprecated  in HTML 4.01, and is not supported in HTML5. Use CSS to style the <hr>  element instead.


Global Attributes

The <hr> tag also supports the Global attributes in HTML5.


Event Attributes

The <hr> tag also supports the Global Event Attributes in HTML5.

<hgroup>

The <hgroup> tag is supported in all major browsers.


Definition and Usage

The <hgroup> tag is used to group heading elements.

The <hgroup> element is used to group a set of h1-h6 elements, when a heading has multiple levels  (subheadings).


Differences Between HTML 4.01 and HTML5

The <hgroup> tag is new in HTML5.


Global Attributes

The <hgroup> tag also supports the Global attributes in HTML5.


Event Attributes

The <hgroup> tag also supports the Global Event Attributes in HTML5.

 <header>

The <header> tag is supported in all major browsers.


Definition and Usage

The <header> tag specifies a header for a document or section.

The <header> element should be used as a container for introductory  content or set of navigational links.

You can have several <header> elements in one document. 

Note: A <header> tag cannot be placed within a <footer>, <address> or  another <header> element.


Differences Between HTML 4.01 and HTML5

The <header> tag is new in HTML5.


Global Attributes

The <header> tag also supports the Global attributes in HTML5.


Event Attributes

The <header> tag also supports the Global Event Attributes in HTML5.

<head>

The <head> tag is supported in all major browsers.


Definition and Usage

The <head> tag is a container for all the head elements.

The <head> element must include a title for the document, and can include scripts,  styles,  meta information, and more.

The following elements can go inside the <head> element:


Differences Between HTML 4.01 and HTML5

The profile attribute is not supported in HTML5.


Global Attributes

The <head> tag also supports the Global attributes in HTML5.

 <h1> - <h6>

The <h1> to <h6> tags are supported in all major browsers.


Definition and Usage

The <h1> to <h6> tags are used to define HTML headings.

<h1> defines the most important heading. <h6> defines the least important  heading.


Differences Between HTML 4.01 and HTML5

The "align" attribute was deprecated  in HTML 4.01, and is not supported in HTML5. Use CSS to align elements.


Global Attributes

The <h1> to <h6> tags also supports the Global attributes in HTML5.


Event Attributes

The <h1> to <h6> tags also supports the Global Event Attributes in HTML5.

<frameset> Tag. Not Supported in HTML5.


Definition and Usage

The <frameset> tag is not supported in HTML5.

The <frameset> tag was used to define a frameset, which organized multiple windows (frames).

The <frame> and <frameset> tags are not supported in HTML5, because they have a negative  effect on the usability of a web page.

 <frame> Tag. Not Supported in HTML5.


Definition and Usage

The <frame> tag is not supported in HTML5.

The <frame> tag was used to define one particular window (frame) within a frameset.

The <frame> and <frameset> tags are not supported in HTML5, because they have a negative  effect on the usability of a web page.

 <form>

The <form> tag is supported in all major browsers.


Definition and Usage

The <form> tag is used to create an HTML form for user input.

The <form> element can contain one or more of the following form elements:


Differences Between HTML 4.01 and HTML5

HTML5 has some new attributes, and some HTML 4.01 attributes are not supported in HTML5.


Attributes

New : New in HTML5.

AttributeValueDescription
accept MIME_type Not supported in HTML5
accept-charset character_set Specifies a list of character encodings that the server accepts
action URL Specifies where to send the form-data when a form is submitted
autocomplete   New on off Specifies whether a form should have autocomplete on or off
enctype application/x-www-form-urlencoded multipart/form-data text/plain Specifies how the form-data should be encoded when submitting it to the server (only for method="post")
method get       post Specifies the HTTP method to use when sending form-data
name text     Specifies the name of a form
novalidate    New novalidate Specifies that the form should not be validated when submitted
target _blank       _self       _parent       _top     Specifies where to display the response that is received after submitting the form

Global Attributes

The <form> tag also supports the Global attributes in HTML5.


Event Attributes

The <form> tag also supports the Global Event Attributes in HTML5.