In this lesson, you will see a complete HTML Tags List. I have arranged this list very simple for beginners. A complete HTML tags list essential for web designing and web development.
Basically HTML statement consists of HTML tags or elements. HTML Tags also called HTML elements used for creating a basic HTML page with text, headings, title, paragraphs and list etc.
HTML elements are not case sensitive. It must be closed in a < & > brackets, e.g. <starting tag> write some text </ending tag>. Some elements have no ending element, e.g. line break element <br> which has no ending element.
This is a complete HTML tags list consists of HTML5 new elements, while some elements are not supported by HTML5.
Complete HTML Tags List Commonly used:
Tag | Description & Function |
<!–…–> | Defines a comment, used to hide something from the browser |
<!DOCTYPE> | The document type |
<a> | An ANCHOR tag to create a hyperlink to another web page with HREF attribute |
<abbr> | An abbreviation or an acronym as “Inc.”, “etc.” |
<acronym> | Defines an acronym |
<address> | A signature or general information about a document’s author |
<applet> | Applet tag used to embedded Java application in HTML document |
<area> | Define an area tag used to define a section for an image |
<article> | Define an article tag |
<aside> | Aside tag to define some text outside the document |
<audio> | Audio tag used to sound the content |
<b> | Bold tag used to the bold text within a document |
<base> | BASE tag indicates and defines the base URL of the current document |
<basefont> | Base font tag specifies a default font for all text in a web document
BASE FONT is not supported in HTML5, use CSS code instead |
<bdi> | BDI stands for Bi-Directional Isolation. |
<bdo> | BDO tag specifies to display the current text direction, e.g. left to right or right to left |
<bgsound> | BGSOUND tag defines a background sound for a webpage as soon as it displayed. |
<big> | The big tag defines larger text than normal
BIG tag is not supported in HTML5, use CSS code instead |
<blockquote> | Blockquote tag defines a section that is quoted from another source or surrounding text |
<blink> | Blink tag use to blink the text in an irritation manner |
<body> | BODY tag defines and closes the body of the HTML document |
<br> | BR tag uses to defines a single line break |
<button> | Button tag uses to create a clickable button within a form |
<canvas> | The canvas tag is used to draw container via scripting for graphics |
<caption> | Caption tag add a caption to a table |
<center> | center tag is used to center text or image
CENTER tag is not supported in HTML5, use CSS code instead |
<cite> | Cite tag defines citation of a work |
<code> | Defines a piece of computer code sample (usually courier) |
<col> | COL tag specifies column properties for each column within a table |
<colgroup> | Colgroup tag is used to group one or more columns in a table |
<datalist> | Detail tag specifies a list of pre-defined options for an <input> controls |
<dd> | DD tag specifies for definition description in dl and dt tags |
<del> | DEL tag is used to define the deleted text in the document |
<details> | DETAIL tag is used to defines additional details to document that user can view or hide it |
<dfn> | A definition of a term |
<dialog> | DIALOG tag is used to defines a popup dialog box or window |
<dir> | DIR tag is used to defines a directory list
DIR tag is not supported in HTML5, use <ul> tag instead |
<div> | DIV tag is used to defines a logical section/division in a web document to be formatted |
<dl> | DL tag is used to defines a definition or glossary list |
<dt> | DT tag is a defined term, as part of the definition list |
<em> | EM tag defines emphasized text (usually italic) |
<embed> | EMBED tag Defines a container for an external (non-HTML) application |
<fieldset> | Groups related elements in a form |
<figcaption> | |
<figure> | Specifies self-contained content |
<font> | Defines font, color, and size for enclosed text
FONT tag is not supported in HTML5, use CSS code instead |
<footer> | Defines a footer for a document or section |
<form> | Defines an HTML input form |
<frame> | Defines a window (a frame) in a frameset
FRAME is not supported in HTML5. |
<frameset> | Defines a set of frames which divides the main window into frames and display a separate document
FRAMESET is not supported in HTML5. |
<h1> to <h6> | Defines HTML six headings styles, i.e. <h1>, <h2>, <h3>, <h4>, <h5>, <h6> |
<head> | HEAD tag encloses the head and provide information about the HTML document |
<header> | Defines a header for a document or section |
<hr> | A horizontal rule line |
<html> | HTML tags is a root of an HTML document and encloses the entire HTML document |
<i> | Italic text |
<iframe> | Defines an inline frame |
<img> | Insert an inline image into the document |
<input> | Defines an input control for a form |
<ins> | A text that has been inserted into a document |
<kbd> | Keyboard input to be types usually courier |
<keygen> | A key-pair generator field (for forms) |
<label> | Defines a label for an <input> element |
<legend> | |
<li> | |
<link> | The link between this document and other external document (link to style sheets) |
<main> | Specifies the main content of a document |
<map> | Defines a client-side image-map |
<mark> | Marked/highlighted text |
<menu> | Defines a menu list of items |
<menuitem> | Defines a command/menu item that the user can invoke from a popup menu |
<meta> | META tag indicates metadata / meta information about an HTML document, i.e. keywords for search engines. Meta information isusually in the form of a key / value used in document <head> |
<meter> | Defines a scalar measurement within a known range (a gauge) |
<nav> | Defines navigation links |
<nobr> | Cases the enclosed text not to wrap at the edge of the page |
<noframes> | Defines an alternate content for users that do not support frames
NOFRAMES tag is not supported in HTML5. |
<noscript> | Defines an alternate document body in <framset> that don’t support frames usually encloses <body> |
<object> | Defines an embedded object, image, video, java applet |
<ol> | Defines an ordered (numbered) list |
<optgroup> | A group of related options in a drop-down list |
<option> | Defines a possible items in a drop-down list within a <select> |
<output> | The result of a calculation |
<p> | P tag is used to define a plain paragraph. The closing tag </p> is optional |
<param> | Defines a parameter for an object |
<picture> | Defines a container for multiple image resources |
<pre> | Defines preformatted text (exact line ending and spacing will be preserved) |
<progress> | Represents the progress of a task |
<q> | Defines a short quotation |
<rp> | What to show in browsers that do not support ruby annotations |
<rt> | Defines an explanation/pronunciation of characters (for East Asian typography) |
<ruby> | Defines a ruby annotation (for East Asian typography) |
<s> | Defines text that is no longer correct |
<samp> | Defines sample text (not commonly used) |
<script> | Defines an interoperated script |
<section> | Defines a section in a document |
<select> | Defines a drop-down list of different items |
<small> | Defines text slightly smaller than normal |
<source> | |
<span> | Defines a section in a document |
<strike> | Defines strikethrough line in text
STRIKE tag is not supported in HTML5. Use <del> or <s> tags instead |
<strong> | Define stronger emphasis important text (usually bold) |
<style> | Defines style information for a document |
<sub> | Defines subscript, e.g. x2 |
<summary> | Defines a visible heading for a <details> element |
<sup> | Defines superscript, e.g. x2 |
<table> | Defines a table contains caption, rows and columns |
<tbody> | Groups the body content in a table |
<td> | Defines a table data cell |
<textarea> | Defines a multiline input control (text area) |
<tfoot> | Groups the footer content in a table |
<th> | Defines a header cell in a table with text align |
<thead> | Defines groups of the header content in a HTML table |
<time> | Defines a date & time |
<title> | Indicates title for the document used within <head> |
<tr> | Defines a row in a table contains heading <th> |
<track> | Defines text tracks for media elements (<video> and <audio>) |
<tt> | Defines typewriter (monospaced) text font
TT tag is not supported in HTML5, use CSS code instead |
<u> | Defines text that should be stylistically different from normal text (usually underline) |
<ul> | Defines an unordered (bulleted) list |
<var> | Defines a variable for some other value |
<video> | Defines a video in HTML documents such as a movie or video clips |
<wbr> | Defines a possible line break or wraps the text at the specific point |