elements

< html
Jump to: navigation, search

HTML Elements

W3C Working Draft

Summary

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.
b The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance.
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.)
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.
caption The caption (<caption>) element represents the title of the table that is its parent.
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.

font The font element is an obsolete tag that was used to specify the typeface, size, and color of the text it contained.
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.
html The html element (<html>) represents the root of an HTML document. The <html> tag is the container for all other HTML elements; except for the <!DOCTYPE> tag.
i The i element indicates that the contained text is in an alternate voice, mood, or language from the surrounding text.
iframe The iframe element (<iframe>) introduces a new nested browsing context.
input The input element (<input/>) is a multipurpose element for representing form widgets. The type of widget depends on the type attribute.
input type 'button' The button type of the input element represents a button with no default behavior. Compare with the button element which offers default behaviours with via attributes.
checkbox The checkbox type of the <input> element represents a state or option that can be toggled.
color The color type of the <input> element provides a widget for selecting a color value.
date The date type of the <input> element represents a widget for specifying a date value (year, month, day), with no time zone or time information.
datetime-local The datetime-local type of the <input> element represents a widget for setting a date-time value (year, month, day, hours, minutes, seconds, milliseconds) with no time zone information.
See more pages...





See also

Related articles

HTML



















  • HTML Elements
































… further results



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

The root element

Document metadata

Scripting

Sections

Grouping content

Text-level semantics

Edits

Embedded content

Tables

Forms

Interactive

Previous HTML Elements

See also