<rt>

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


Definition and Usage

The <rt> tag defines an explanation or pronunciation of characters (for  East Asian typography) in a ruby annotation.

Use the <rt> tag together with the <ruby> and the <rp> tags: The <ruby> element consists of one or more characters that needs an  explanation/pronunciation, and an <rt> element that gives that information, and  an optional <rp> element that defines what to show for browsers that not support ruby  annotations.


Differences Between HTML 4.01 and HTML5

The <rt> tag is new in HTML5.


Global Attributes

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


Event Attributes

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

<rp>

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


Definition and Usage

The <rp> tag defines what to show if a browser  does NOT support ruby annotations.

Ruby annotations are used for East Asian typography, to show the pronunciation of East Asian characters.

Use the <rp> tag together with the <ruby> and the <rt> tags: The <ruby> element consists of one or more characters that needs an  explanation/pronunciation, and an <rt> element that gives that information, and  an optional <rp> element that defines what to show for browsers that not support ruby  annotations.


Differences Between HTML 4.01 and HTML5

The <rp> tag is new in HTML5.


Global Attributes

The <rp> tag also supports the Global attributes in HTML5


Event Attributes

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

<q>

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


Definition and Usage

The< q> tag defines a short quotation.

Browsers often insert quotation marks around the quotation.


Differences Between HTML 4.01 and HTML5

NONE


Tips and Notes

Tip: Use <blockquote> to mark up long quotations.


Attributes

AttributeValueDescription
cite URL Specifies the source URL of the quote

Global Attributes

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


Event Attributes

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

<progress>

The <progress> tag is currently supported in Firefox, Opera, and Chrome.


Definition and Usage

The <progress> tag represents the progress of a task.


Differences Between HTML 4.01 and HTML5

The <progress> tag is new in HTML5.


Tips and Notes

Tip: Use the <progress> tag in conjunction with JavaScript to display  the progress of a task.

Note: The <progress> tag is not suitable for representing a gauge  (e.g. disk space usage or relevance of a query result). To represent a gauge,  use the <meter> tag instead.


Attributes

New : New in HTML5.

AttributeValueDescription
max    New number Specifies how much work the task requires in total
value    New number Specifies how much of the task has been completed

Global Attributes

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


Event Attributes

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

<pre>

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


Definition and Usage

The <pre> tag defines preformatted text.

Text in a <pre> element is displayed in a fixed-width font (usually Courier), and  it preserves both spaces and line breaks.


Differences Between HTML 4.01 and HTML5

The "width" attribute was deprecated  in HTML 4.01, and is not supported in HTML5.


Tips and Notes

Tip: Use the <pre> element when displaying text with unusual  formatting, or some sort of computer code.


Global Attributes

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

<param>

The <param> tag is supported in all major browsers. However, the file  format defined in <object> may not be supported in all browsers.


Definition and Usage

The <param> tag is used to define parameters for plugins embedded with an <object> element.

Tip: HTML 5 also includes two new elements for playing audio or video:  The <audio> and <video>  tags.


Differences Between HTML 4.01 and HTML5

HTML 4.01 attributes "type" and "valuetype" are not supported in HTML5.


Attributes

AttributeValueDescription
name name Specifies the name of the parameter
type MIME_type Not supported in HTML5.
value value Specifies the value of the parameter
valuetype data     ref     object Not supported in HTML5.

Global Attributes

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


Event Attributes

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

<p>

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


Definition and Usage

The <p> tag defines a paragraph.
Browsers automatically add some space (margin) before and after each <p> element. The  margins can be modified with CSS (with the margin properties).


Differences Between HTML 4.01 and HTML5

The align attribute, which was deprecated in HTML 4.01, is no longer  supported in HTML5.


Global Attributes

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


Event Attributes

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

<output>

The <output> tag is supported in all major browsers, except Internet  Explorer.


Definition and Usage

The <output> tag represents the result of a calculation (like one  performed by a script).


Differences Between HTML 4.01 and HTML5

The <output> tag is new in HTML5.


Attributes

New : New in HTML5.

AttributeValueDescription
for     New element_id Specifies the relationship between the result of the calculation, and the elements used in the calculation
form   New form_id Specifies one or more forms the output element belongs to
name   New name Specifies a name for the output element

Global Attributes

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


Event Attributes

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

 <option>

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


Definition and Usage

The <option> tag defines an option in a select list.

The <option> element goes inside a <select> or <datalist> element.


Differences Between HTML 4.01 and HTML5

In HTML5, the <option> element is also used in the new <datalist> element.


Tips and Notes

Note: The <option> tag can be used without any attributes, but you usually need the value attribute, which indicates what is sent to the server.

Note: Use this tag in conjunction with <select> or <datalist>  elements, elsewhere  it is meaningless.


Attributes

AttributeValueDescription
disabled disabled Specifies that an option should be disabled
label text Specifies a shorter label for an option
selected selected Specifies that an option should be pre-selected when the page loads
value text Specifies the value to be sent to a     server

Global Attributes

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


Event Attributes

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

 <optgroup>

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


Definition and Usage

The <optgroup> is used to group related options in a drop-down list.

If you have a long list of options, groups of related options are easier to  handle for a user.


Differences Between HTML 4.01 and HTML5

NONE


Attributes

AttributeValueDescription
label text Specifies a label for an option-group
disabled disabled Specifies that an option-group should be disabled

Global Attributes

The <optgroup> tag also supports the Global attributes in HTML5


Event Attributes

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