HTML Tags

Tag Description Tag Description Tag Description
<!DOCTYPE> the document type
<html> The root tag of the HTML document
<head> Information about the document
<base> Specifies the base URL/target for all relative URLs in a document
<link> Sets a relationship between the document and an external resource (e.g. A CSS file)
<meta> Metadata about the document
<script> Client-side script
<style> Style information for the document if not using a separate CSS file
<title> Title for the document
<body> The document body
<!--...--> Comment
<a> Hyperlink
<abbr> Abbreviation
<address> Contact information for the author/owner of a document
<area> Area inside an image-map
<article> Article
<aside> Content aside from the page content
<audio> Sound content
<video> video
<source> multiple media resources for media elements <audio> and <video>
<track> text tracks for media elements <video> and <audio>
<b> Bold text
<bdi> Text fragment that might be formatted to have a different text direction
<bdo> Overrides the current text direction
<blockquote> Section that is quoted from another source
<br> Single line break
<canvas> Draw graphics on the fly using JavaScript
<cite> the title of a work
<code> piece of computer code
<colgroup> Specifies a group of one or more columns in a table for formatting
<col> Specifies column properties for each column within a <colgroup> element
<datalist> Specifies a list of pre-defined options for input controls
<del> Text that has been deleted from a document, used with <ins>
<dfn> Definition term
<dialog> Dialog box or window (Not in IE, FF,GC)
<div> Section in a document
<dl> Description list
<dt> Term in a description list
<dd> description/value of a term in a description list
<em> emphasized text
<embed> container for an external (non-HTML) application
<figure> Specifies self-contained content
<figcaption> Caption for a <figure>
<footer> Footer for a document or section
<form> HTML form for user input
<button> Button
<fieldset> Groups related elements in a form
<legend> caption for a <fieldset>
<input> Input control
<output> The result of a calculation (FF,GC,OP,SA only)
<label> Label for an <input>
<keygen> Key-pair generator field for forms
<optgroup> Group of related options in a drop-down list
<option> Option in a drop-down list
<select> Drop-down list
<textarea> Multiline input control
<h1> to <h6> HTML headings
<hr> Change of topic in the content (used to be horizontal rule)
<i> Part of text in an alternate voice or mood (Used to be italics)
<iframe> Inline frame
<img> Image
<ins> Text that has been inserted into the document, used with <del>
<kbd> Keyboard input
<main> Specifies the main content of a document
<map> Client-side image-map
<mark> Marked/highlighted text
<menu> List/menu of commands
<menuitem> Command/menu item that the user can invoke from a popup menu
<meter> A gauge/ single thermometer graph (FF,GC,OP,SA only)
<nav> Navigation links
<noscript> Alternate content when client-side scripts not supported
<object> Embedded object
<param> Parameter for an object
<ol> Ordered list (numbered)
<ul> Unordered list
<li> List item
<p> Paragraph
<pre> Preformatted text
<progress> Progress bar
<q> Short quotation
<rp> What to display in browsers that do not support ruby annotations
<rt> Explanation or pronunciation of characters (for Asian typography)
<ruby> Ruby annotation (for Asian typography)
<s> Text that is no longer correct, used to be strikethrough
<samp> Sample output from a computer program
<section> Section in a document
<small> Smaller text
<span> Section in a document (inline)
<strong> Important text
<sub> Subscript text
<summary> Visible summary text for <details> element (Chrome and Safari only)
<details> Additional details that the user can view or hide
<sup> Superscript text
<table> Table
<caption> Table caption
<thead> Groups header content
<th> Header cell
<tbody> Groups body content
<tr> Row , can be used in thead, tbody and tfoot
<td> Cell in <tr>
<tfoot> Groups footer content
<time> Date/time
<u> Text that should be stylistically different from normal text
<var> Variable
<wbr> Suggested line-break (FF,GC,OP,SA only)