< html
Jump to: navigation, search

HTML Elements

W3C Working Draft


Index page for HTML elements.

API Name Summary
!DOCTYPE A Document Type Declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document (for example, a webpage) with a Document Type Definition (DTD) (for example, the formal definition of a particular version of HTML). In the serialized form of the document, it manifests as a short string of markup that conforms to a particular syntax. Not including <!DOCTYPE> may trigger Quirks mode.
a Defines a hyperlink, a destination of hyperlink, or both.
acronym This element is deprecated in HTML5, in favor of the abbr element. It should no longer be used.

The acronym element indicated an abbreviation or a word formed by the initial letter or letters (or major parts) of a compound term, like NATO, radar or Interpol.

address The address element (<address>) encloses contact information of the owner or the author of the document or the article.
applet – obsolete The applet element (<applet>) embeds a Java applet into a web page.
area Represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map.
article The article element (<article>) defines a self-contained composition within a page.
aside The aside element (<aside>) indicates content that is only tangentially related to the rest of the content.
audio The audio element (<audio>) is used for playing audio files and may display a minimal media player user interface.
b The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance.
base The base element is used to specify a document's base URL and base target that is used for resolving URI references (relative URLs) within the document.
basefont The basefont element (<basefont>) allows specifying a default color and font-size for text on the entire page.

The basefont element was deprecated in HTML4 and should no longer be used.

bdo The bdo element (<bdo>) allows you to specify the direction in which text is to be rendered on the page. ("BDO" stands for Bi-Directional Override.)
bgSound The bgsound element (<bgsound>) instructs the browser to load and play a sound file while the user is on that page. Don't use it. Use the audio element instead.
big The big element (<big>) indicates that the enclosed text should be display in a larger font size than surrounding text.

This element is considered obsolete in HTML5. Use CSS instead.

blockquote The blockquote element indicates an extended quotation.
body The body element (<body>) represents the main content of the document.
br The line break element, br, forces the current line of text to end and the text that follows it will being on a new line.
button The button element represents a clickable button.
canvas The canvas element (<canvas>) provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, or other visual images on the fly, by using the associated canvas API.
caption The caption (<caption>) element represents the title of the table that is its parent.
center The <center> element center-aligns text in an HTML page. The element is deprecated in HTML 4.01 and obsolete in HTML5. Use CSS instead.
cite The cite element represents a reference to a creative work.
code The code element specifies a fragment of computer code.
col The col element (<col>) specifies properties for each column within a <colgroup> element in a <table>.
colgroup The colgroup element (<colgroup>) specifies a group of one or more columns in a table for formatting.

This element is useful for applying properties to entire columns, instead of repeating the properties for each cell, for each row.

custom Represents a user-defined HTML tag (nonstandard)
datalist The datalist element (<datalist>) represents a set of <option> elements that represent predefined options for other controls. It may be associated with an <input> element by adding a list attribute to the input element.
dd – description list data The dd element represents the description, definition, or value, part of a term-description group in a definition list (dl).

A dt (topic) is usually followed by one or more dd (definition) elements. Several consecutive dt are attributed to the dd element that immediately follows the group.

del The del element indicates text that has been deleted from the document.
dfn The dfn element indicates the defining instance of a term.
dir The dir element <dir> is used to list directory titles.

The dir element is deprecated in HTML 4.01, and obsolete in HTML5. Use CSS and the ul element instead.

div The div element (<div>) is a generic block-level container that has no semantic value other than the one that you give it via id or class attributes. It can be used for a variety of purposes including the styling of common elements, or for grouping elements with common attributes.
dl – description list The dl element is used to define a description list. The element encloses one or more description terms, enclosed in dt elements, and description definitions (definitions of the terms), enclosed within dd elements.
dt – description list topic The dt element indicates a definition term within a definition list (dl).

A dt (topic) is usually followed by one or more dd (definition) elements. Several consecutive dt are attributed to the dd element that immediately follows the group.

em The em element indicates text that has emphasis.
EMBED The HTML <embed> Element represents an integration point for an external content- typically, non-HTML content such as an application or some other type of interactive content which involves use of a third-party plugin as a handler (rather than being natively supported by the UA).
fieldset The fieldset element is used to group related fields within a form.
figcaption The figcaption (<figcaption>) defines a caption or legend for a figure element.

This element is new in HTML5.

figure The figure element (<figure>) represents self-contained content (such as an image), optionally with a caption, that can be referenced as a single unit from the main content of the document.
font The font element is an obsolete tag that was used to specify the typeface, size, and color of the text it contained.
footer The footer element (<footer>) represents content of the end of the nearest ancestor sectioning content or sectioning root element.
form The form element (<form>) defines an HTML form for user input, subsequently to be submitted to a website or service.
frame The frame element (<frame>) defines one particular window (frame) within a <frameSet>.

The <frame> element is obsolete in HTML5.

frameSet The frameset element (<frameset>) defines a collection of frames.

The <frameset> element holds one or more <frame> elements. Each <frame> element can hold a separate document. The <frameset> tag is obsolete in HTML5.

head The head element (<head>) represents a collection of metadata for the document.
header The header element (<header>) represents the header of a section: a group of introductory or navigational aids.
hgroup (Obsolete) The hgroup element (<hgroup>) is typically used to group a set of one or more h1-h6 elements — to group, for example, a section title and an accompanying subtitle. The hgroup element (<hgroup>) element is obsolete in HTML5.
hn The h1 through h6 elements define levels of headings within a document.
hr The hr element represents a paragraph-level thematic break in text.
See more pages...

See also

Related articles


… further results

This is the list of HTML and related Elements from the past to the present.

The root element

Document metadata



Grouping content

Text-level semantics


Embedded content




Previous HTML Elements

See also