HTML CSS Bootstrap Javascript Icons Python
HTML References
HTML - Tag Reference HTML - Tag by Category HTML - Attributes HTML - Global Attributes HTML - Events HTML - Language Codes HTML - Country Codes HTML - URL Encoding HTTP Methods HTTP Status Codes <input> types
All HTML Tags
<!-- --> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <article> <aside> <audio> <b> <base> <basefont> <bdi> <bdo> <big> <blockquote> <body> <br> <button> <canvas> <caption> <center> <cite> <code> <col> <colgroup> <data> <datalist> <dd> <del> <details> <dfn> <dialog> <dir> <div> <dl> <dt> <em> <embed> <fieldset> <figcaption> <figure> <font> <footer> <form> <frame> <frameset> <h1> - <h6> <head> <header> <hr> <html> <i> <iframe> <img> <input> <ins> <kbd> <label> <legend> <li> <link> <main> <map> <mark> <meta> <meter> <nav> <noframes> <noscript> <object> <ol> <optgroup> <option> <output> <p> <param> <picture> <pre> <progress> <q> <rp> <rt> <ruby> <s> <samp> <script> <section> <select> <small> <source> <span> <strike> <strong> <style> <sub> <summary> <sup> <svg> <table> <tbody> <td> <template> <textarea> <tfoot> <th> <thead> <time> <title> <tr> <track> <tt> <u> <ul> <var> <video> <wbr>

HTML Element Reference

HTML Tags Ordered by Category

This page lists all the HTML elements, which are created using tags. They are grouped by Category to help you find what you have in mind easily.



Main root

Element Description
<html> Represents the root of an HTML document

Document metadata

Element Description
<head> Defines information about the document
<link> Specifies relationships between the current document and an external resource. This element is most commonly used to link to stylesheets
<meta> Defines metadata about an HTML document
<style> Contains style information for a document
<title> Defines a title for the document
<base> Specifies the base URL for all relative URLs in a document

Basic HTML

Element Description
<!DOCTYPE> Defines the document type
<body> Defines the document's body
<h1> - <h6> Defines HTML headings
<p> Defines a paragraph
<br> Defines a line break
<hr> Represents a horizontal rule or line
<!--> Defines a comment

Formatting

Element Description
<acronym>
Specifies an acronym
Not supported in HTML5. Use <abbr> element instead.
<abbr> Specifies an abbreviation or acronym
<address> Specifies contact information for a person or people
<b> Specifies bold text
<bdi> Represents text that is isolated from its surrounding for the purposes of bidirectional text formatting
<bdo> Overrides the current text direction.
<big>
Specifies big text
Not supported in HTML5. Use CSS instead.
<blockquote> Specifies a long quotation
<center>
Specifies centered text
Not supported in HTML5. Use CSS instead.
<cite> Specifies the title of a work
<code> Specifies a piece of computer code
<del> Represents a range of text that has been deleted from a document
<dfn> Represents the defining instance of a term
<em> Specifies emphasized text
<font>
Specifies text font, size, and color
Not supported in HTML5, use CSS instead
<i> Displays text in an italic style
<ins> Represents a range of text that has been added to a document
<kbd> Specifies keyboard input
<mark> Specifies highlighted text
<meter> Specifies a scalar measurement within a known range
<pre> Represents preformatted text which is to be presented exactly as written in the HTML file
<progress> Represents the progress of a task
<q> Specifies a short quotation
<rp> Specifies what to show in browsers that do not support ruby annotations
<rt> Specifies the pronunciation of character presented in a ruby annotations
<ruby> Specifies a ruby annotation
<s> Specifies text that is no longer correct
<samp> Specifies sample output from a computer program
<small> Specifies smaller text
<strike>
Specifies strikethrough text
Not supported in HTML5, use <del> or <s> instead
<strong> Specifies important text
<sub> Specifies subscripted text
<sup> Specifies superscripted text
<template> Specifies a template
<time> Specifies a date/time
<tt>
Specifies teletype text
Not supported in HTML5, use CSS instead
<u> Displays text with an underline
<var> Specifies a variable
<wbr> Represents a word break opportunity



Content sectioning

Element Description
<address> Specifies contact information for a person or people
<article> Specifies an article
<aside> Represents a content that is indirectly related to the main content
<footer> Specifies a footer for a document or section
<header> Specifies a header for a document or section
<main> Specifies the main content of a document
<nav> Specifies navigation links
<section> Specifies a section in a document

Forms and Input

Element Description
<form> Specifies an HTML form for user input
<input> Specifies an input control
<textarea> Specifies a multiline input control
<button> Specifies a clickable button
<select> Specifies a drop-down list
<optgroup> Specifies a group of related options in a drop-down list
<option> Specifies an option in a drop-down list
<label> Specifies a label for an <input> element
<fieldset> Groups related elements in a form
<legend> Specifies a caption for a <fieldset> element
<datalist> Specifies a list of pre-defined options for input controls
<output> Specifies the result of a calculation or the outcome of a user action
<meter> Specifies a scalar measurement within a known range
<progress> Represents the progress of a task

Frames

Element Description
<frame>
Specifies a sub window (a frame)
Not supported in HTML5
<frameset>
Specifies a set of frames
Not supported in HTML5
<noframes>
Specifies an alternate content for users that do not support frames
Not supported in HTML5
<iframe> Represents a nested browsing context, effectively embedding another HTML page into the current page

Images

Element Description
<area> Specifies an area inside an image-map
<map> Specifies an image-map (a clickable link area)
<img> Specifies an image
<canvas> Specifies a region in the document, which can be used to draw graphics on the fly via scripting (usually JavaScript)
<picture> Specifies a container for multiple image resources
<svg> Specifies a container for SVG graphics

Audio / Video

Element Description
<audio> Embeds a sound, or an audio stream in an HTML document
<source> Specifies multiple media resources for media elements (<video> and <audio>)
<track> Specifies text tracks for media elements (<video> and <audio>)
<video> Embeds a media player which supports video playback into the document

Links

Element Description
<a> Specifies a hyperlink
<link> Specifies relationships between the current document and an external resource. This element is most commonly used to link to stylesheets

Lists

Element Description
<ul> Specifies an unordered list
<ol> Specifies an ordered list
<li> Specifies a list item
<dl> Specifies a description list
<dt> Specifies a term in a description or definition list, and as such must be used inside a <dl> element
<dd> Provides the details about or the definition of the preceding term (<dt>) in a description list (<dl>)

Tables

Element Description
<table> Specifies a table
<caption> Specifies a table caption
<th> Specifies a header cell in a table
<tr> Specifies a row in a table
<td> Specifies a cell in a table
<thead> Encapsulates the header content in a table
<tbody> Encapsulates the body content in a table
<tfoot> Encapsulates the footer content in a table
<col> Specifies column properties for each column within a <colgroup> element
<colgroup> Specifies a group of one or more columns in a table for formatting

Embedded content

Element Description
<applet>
Specifies an embedded java applet
Not supported in HTML5. Use <embed> or <object> element instead.
<embed> Embeds external content at the specified point in the document
<object> Specifies an embedded object
<param> Specifies a parameter for an object
<iframe> Represents a nested browsing context, effectively embedding another HTML page into the current page

Interactive elements
Element Description
<details> Specifies additional details that the user can view or hide
<dialog> Specifies a dialog box or window
<summary> Specifies a visible heading for a <details> element

Scripting
Element Description
<script> Specifies a client-side script
<noscript> Specifies an alternate content for users that do not support client-side scripts

Demarcating edits
Element Description
<del> Represents a range of text that has been deleted from a document
<ins> Represents a range of text that has been added to a document

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>
Specifies an acronym
Not supported in HTML5. Use <abbr> element instead.
<applet>
Specifies an embedded java applet
Not supported in HTML5. Use <embed> or <object> element instead.
<basefont>
Specifies a default color, size, and font for all text in a document
Not supported in HTML5. Use CSS instead.
<big>
Specifies big text
Not supported in HTML5. Use CSS instead.
<center>
Specifies centered text
Not supported in HTML5. Use CSS instead.
<dir>
Specifies a directory list
Not supported in HTML5. Use <ul> instead.
<font>
Specifies text font, size, and color
Not supported in HTML5, use CSS instead
<frame>
Specifies a sub window (a frame)
Not supported in HTML5
<frameset>
Specifies a set of frames
Not supported in HTML5
<noframes>
Specifies an alternate content for users that do not support frames
Not supported in HTML5
<strike>
Specifies strikethrough text
Not supported in HTML5, use <del> or <s> instead
<tt>
Specifies teletype text
Not supported in HTML5, use CSS instead