elements
HTML Elements
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. |
| a | The a element (<a>) defines a hyperlink (a link) to any content, may be another page, another section of the same page, an image/file or it may invoke a JavaScript function. |
| abbr | The abbr element (<abbr>) represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else. |
| acronym | The acronym element (<acronym>) indicates an abbreviation or a word formed by the initial letter or letters (or major parts) of a compound term. |
| address | The address element (<address>) encloses contact information of the owner or the author of the document or the article. |
| applet | The applet element (<applet>) embeds a Java applet into a web page. |
| area | The area element (<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 (<b>) historically was used to tell the browser to make the nested text bold. While the <b> element is widely supported in browsers, its use is not recommended, as CSS can be used to achieve the same effect. In HTML5, it merely signifies that the text should be stylistically distinguished in some way. |
| base | The base element (<base>) allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information. |
| basefont | The basefont element (<basefont>) allows specifying a default font-color and font-size for text on the entire page.
The <basefont> element is not supported in HTML5. Use CSS instead. |
| 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 (<blockquote>) indicates an extended quotation. |
| body | The body element (<body>) represents the main content of the document. |
| br | The br element (<br>) forcibly breaks (ends) the current line of text, without starting a new paragraph. |
| button | The button element (<button>) defines 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. The canvas element is one of the most important elements introduced in HTML5. |
| caption | The caption element (<caption>) specifies a brief description for a table.
The <caption> element must be inserted immediately after the <table> element. |
| center | The center element (<center>) center-aligns text in an HTML page.
The <center> element is deprecated in HTML 4.01 and obsolete in HTML5. Use CSS instead. |
| cite | The cite element (<cite>) defines the title of a work in HTML5; or a citation in HTML 4.01. |
| code | The code element (<code>) 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. |
| comment | The comment syntax indicates text within an HTML document that is not displayed on the rendered page in the browser.
A comment starts with <!-- and ends with -->. |
| custom | Represents a user-defined HTML tag. |
| 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 | The dd element (<dd>) represents the description, definition, or value, part of a term-description group in a description list (<dl> element). |
| del | The del element (<del>) indicates text that has been deleted from the document. Browsers normally strike a line through deleted text. |
| dfn | The dfn element (<dfn>) 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 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 | The dl element (<dl>) is used to define a definition list. It encloses a list of definition items which consist of two parts, a term (<dt>) and a description (<dd>). |
| dt | The dt element (<dt>) indicates a definition term within a definition list (<dl>). |
| em | The em element (<em>) indicates text that should be emphasized, usually by rendering it in Italic style text. |
| embed | The embed element (<embed>) defines a container for an external application or interactive content (a plug-in).
The <embed> element is new in HTML5. |
| fieldset | The fieldset element (<fieldset>) is used to group related elements in a form.
Typically, the browser draws a box around the text and other elements that the field set contains. |
| 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, optionally with a caption, that can be referenced as a single unit from the main content of the document. |
| font | The font element (<font>) specifies the font face, font size, and font color of text.
The <font> element is deprecated in HTML 4.01, and obsolete in HTML5. Use CSS instead. |
| footer | The footer element (<footer>) was introduced in HTML5 for modeling the footer sections of real-world documents. The basic motivation for introducing the footer element was to eliminate the overuse of <div> elements and creating a suitable element for the links and text that are usually located at the bottom of the webpages. |
| 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. |
| hgroup | 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. |
See more pages...
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
- a
- abbr
- acronym
- b
- basefont
- bdo
- big
- blink
- br
- cite
- code
- dfn
- em
- font
- i
- kbd
- listing
- mark
- marquee
- nextid
- nobr
- q
- rp
- rt
- ruby
- s
- samp
- small
- spacer
- span
- strike
- strong
- sub, sup
- time
- tt
- u
- var
- wbr
- xmp
Edits
Embedded content
- img
- iframe
- embed
- object
- param
- video
- audio
- source
- track
- canvas
- map
- area
- math
- svg
- applet
- frame
- frameset
- noframes
- bgsound
- noembed
- plaintext
Tables
Forms
- form
- fieldset
- legend
- label
- input
- button
- select
- datalist
- optgroup
- option
- textarea
- keygen
- output
- progress
- meter
Interactive
Previous HTML Elements
- acronym
- applet (deprecated in HTML 4.01, non conformant in HTML5)
- basefont (deprecated in HTML 4.01, non conformant in HTML5)
- bgsound
- big
- blink
- c (never deployed, was a proposal before span)
- center (deprecated in HTML 4.01, non conformant in HTML5)
- font (deprecated in HTML 4.01, non conformant in HTML5)
- frame
- frameset
- isindex (deprecated in HTML 4.01, non conformant in HTML5)
- listing
- marquee
- nextid
- nobr
- noembed
- noframes
- plaintext
- spacer
- strike (deprecated in HTML 4.01, non conformant in HTML5)
- tt
- u (deprecated in HTML 4.01, non conformant in HTML5)
- xmp
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here