HTML elements reference

This page lists all the HTML elements, which are created using tags. They are grouped by function to help you find what you have in mind easily. An alphabetical list of all elements is provided in the sidebar on every element's page as well as this one.

For more information about the basics of HTML elements and attributes, see the section on elements in the Introduction to HTML article.

Main root

Element Description
<html> (en-US)

Document metadata

Metadata contains information about the page. This includes information about styles, scripts and data to help software (search engines, browsers, etc.) use and render the page. Metadata for styles and scripts may be defined in the page or link to another file that has the information. 

Element Description
<base> (en-US)
<head> (en-US)
<link> (en-US)
<meta> (en-US)
<style> (en-US)
<title> (en-US)

Sectioning root

Element Description
<body> (en-US)

Content sectioning

Content sectioning elements allow you to organize the document content into logical pieces. Use the sectioning elements to create a broad outline for your page content, including header and footer navigation, and heading elements to identify sections of content.   

Element Description
<address> (en-US)
<article> (en-US)
<aside> (en-US)
<footer> (en-US)
<header> (en-US)
<h1> (en-US), <h2> (en-US), <h3> (en-US), <h4> (en-US), <h5> (en-US), <h6> (en-US)
<main> (en-US)
<nav> (en-US)
<section> (en-US)

Text content

Use HTML text content elements to organize blocks or sections of content placed between the opening <body> (en-US) and closing </body> tags. Important for accessibility and SEO, these elements identify the purpose or structure of that content.     

Element Description
<blockquote> (en-US)
<dd> (en-US)
<div> (en-US)
<dl> (en-US)
<dt> (en-US)
<figcaption> (en-US)
<figure> (en-US)
<hr> (en-US)
<li> (en-US)
<ol> (en-US)
<p> (en-US)
<pre> (en-US)
<ul> (en-US)

Inline text semantics

Use the HTML inline text semantic to define the meaning, structure, or style of a word, line, or any arbitrary piece of text.

Element Description
<a> (en-US)
<abbr> (en-US)
<b> (en-US)
<bdi> (en-US)
<bdo> (en-US)
<br> (en-US)
<cite> (en-US)
<code> (en-US)
<data> (en-US)
<dfn> (en-US)
<em> (en-US)
<i> (en-US)
<kbd> (en-US)
<mark> (en-US)
<q> (en-US)
<rb> (en-US)
<rp> (en-US)
<rt> (en-US)
<rtc> (en-US)
<ruby> (en-US)
<s> (en-US)
<samp> (en-US)
<small> (en-US)
<span> (en-US)
<strong> (en-US)
<sub> (en-US)
<sup> (en-US)
<time> (en-US)
<u> (en-US)
<var> (en-US)
<wbr> (en-US)

Image and multimedia

HTML supports various multimedia resources such as images, audio, and video.

Element Description
<area> (en-US)
<audio> (en-US)
<img> (en-US)
<map> (en-US)
<track> (en-US)
<video> (en-US)

Embedded content

In addition to regular multimedia content, HTML can include a variety of other content, even if it's not always easy to interact with.

Element Description
<embed> The HTML <embed> element embeds external content at the specified point in the document. This content is provided by an external application or other source of interactive content such as a browser plug-in.
<iframe> (en-US)
<object> (en-US)
<param> (en-US)
<picture> (en-US)
<portal> (en-US)
<source> (en-US)


In order to create dynamic content and Web applications, HTML supports the use of scripting languages, most prominently JavaScript. Certain elements support this capability.

Element Description
<canvas> (en-US)
<noscript> (en-US)
<script> (en-US)

Demarcating edits

These elements let you provide indications that specific parts of the text have been altered.

Element Description
<del> (en-US)
<ins> (en-US)

Table content

The elements here are used to create and handle tabular data.

Element Description
<caption> (en-US)
<col> (en-US)
<colgroup> (en-US)
<table> (en-US)
<tbody> (en-US)
<td> (en-US)
<tfoot> (en-US)
<th> (en-US)
<thead> (en-US)
<tr> (en-US)


HTML provides a number of elements which can be used together to create forms which the user can fill out and submit to the Web site or application. There's a great deal of further information about this available in the HTML forms guide.

Element Description
<button> (en-US)
<datalist> (en-US)
<fieldset> (en-US)
<form> (en-US)
<input> (en-US)
<label> (en-US)
<legend> (en-US)
<meter> (en-US)
<optgroup> (en-US)
<option> (en-US)
<output> (en-US)
<progress> (en-US)
<select> (en-US)
<textarea> (en-US)

Interactive elements

HTML offers a selection of elements which help to create interactive user interface objects.

Element Description
<details> (en-US)
<dialog> (en-US)
<menu> (en-US)
<summary> (en-US)

Web Components

Web Components is an HTML-related technology which makes it possible to, essentially, create and use custom elements as if it were regular HTML. In addition, you can create custom versions of standard HTML elements.

Element Description
<slot> (en-US)
<template> (en-US)

Obsolete and deprecated elements

Warning: These are old HTML elements which are deprecated and should not be used. You should never use them in new projects, and should replace them in old projects as soon as you can. They are listed here for informational purposes only.

Element Description
<acronym> (en-US)
<applet> (en-US)
<basefont> (en-US)
<bgsound> (en-US)
<big> (en-US)
<blink> (en-US)
<center> (en-US)
<content> (en-US)
<dir> (en-US)
<font> (en-US)
<frame> (en-US)
<frameset> (en-US)
<hgroup> (en-US)
<image> (en-US)
<isindex> (en-US)
<keygen> (en-US)
<listing> (en-US)
<marquee> (en-US)
<menuitem> (en-US)
<multicol> (en-US)
<nextid> (en-US)
<nobr> (en-US)
<noembed> (en-US)
<noframes> (en-US)
<plaintext> (en-US)
<rb> (en-US)
<rtc> (en-US)
<shadow> (en-US)
<spacer> (en-US)
<strike> (en-US)
<tt> (en-US)
<xmp> (en-US)