Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML
tag

HTML
tag

Example

A description list with terms and descriptions:

 

Coffee

   

Black hot drink

 

Milk

   

White cold drink

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support

tag.


Tag Definition and Usage Notes

The tag is used to describe a term/name in a description list.
The tag is used together with [
](tag-dl.html) (which defines a description list) and [
](tag-dt.html) (which defines a term/name).

in

Inside the tag, you can place paragraphs, line breaks, images, links, lists, and so on.


Differences between HTML 4.01 and HTML5

In HTML 4.01,

The tag is used to describe an entry in a definition list.

In HTML5,

The tag is used to describe a term/name in a description list.


Global Attributes

The tag supports [HTML Global Attributes](/tags/ref-standardattributes.html).

Event attribute

The tag supports [HTML Event Attributes](/tags/ref-eventattributes.html).

Related Articles

HTML Tutorial:HTML list