This page lists all the HTML elements. They are grouped by function to help you find what you have in mind easily. Although this guide is written for those who are newer to coding, we intend it to be useful for anyone.
Global attributes are attributes common to all HTML elements; they can be used on all elements, though the attributes may have no effect on some elements.
Elements in HTML have attributes; these are additional values that configure the elements or adjust their behavior in various ways to meet the criteria the users want.
In HTML, the following link types indicate the relationship between two documents,
in which one links to the other using an <a>
, <area>
,
or <link>
element.
Each HTML element must abide by rules defining what kind of content it can have. These rules are grouped into content models common to several elements.
A block-level element occupies the entire space of its parent element (container), thereby creating a "block."
An inline element occupies only the space bounded by the tags that define the inline element
Heading elements implement six levels of document headings,
<h1>
is the most important and <h6>
is the least.
A heading element briefly describes the topic of the section it introduces.
The HTML5 specification brings several new elements to web developers allowing them to describe the structure of a web document with standard semantics.
Firefox 2 introduces spell checking support to text areas and text fields in web forms. The user can specify using the about:config interface whether or not spellchecking is enabled and whether to check both text areas and text fields or only text areas.
In the HTML5 working draft, the activeElement DOM attribute and the hasFocus() DOM method gives the programmer the ability to have better control of the interactivity of the page due to the user's actions.
The HTML parser in Firefox 4 and later supports speculative parsing off the main thread. It parses ahead while scripts are being downloaded and executed.
Microdata is a WHATWG HTML specification used to nest metadata within existing content on web pages. Search engines, web crawlers, and browsers can extract and process microdata from a web page and use it to provide a richer browsing experience for users.
MicroFormats, sometimes abbreviated μF, are simple conventions used to embed semantics in HTML and quickly provide an API to be used by search engines, aggregators, and other tools.
The <audio>
and <video>
elements provide support
for playing audio and video media without requiring plug-ins.
The HTML specification introduces a crossorigin
attribute for images that,
in combination with an appropriate CORS header, allows images defined by the
<img>
element loaded from foreign origins to be used in canvas as if
they were being loaded from the current origin.