Summary -
In this topic, we described about the tags reference in detail.
Tag | Description | Introduced in HTML5 | Depreciated in HTML5 |
---|---|---|---|
<!--...--> | To insert the comments in HTML document | ||
<!DOCTYPE> | Supports the browser to display a web page properly | ||
<a> | Hypertext anchor (hyperlink) from one page to another | ||
<abbr> | Specifies an abbreviation of an element | ||
<acronym> | Define an acronym | Yes | |
<address> | Specifies the contact information for a page or document | ||
<applet> | Specifies an embedded java applet | Yes | |
<area> | Defines an area in an image | ||
<article> | Specify the standalone content in HTML documents | Yes | |
<aside> | Defines some content aside from the content placed in the HTML document | Yes | |
<audio> | Defines sound/music/other audio streams in the HTML document | Yes | |
<b> | Used to display the text as bold | ||
<base> | Specifies the base location from where the links to made | ||
<basefont> | Text family, size and color will be specified | Yes | |
<bdi> | Isolates text from its current environment where bidirectional formatting required | Yes | |
<bdo> | Bi-Directional override element uses <bdo> tag | ||
<bgsound> | Used to insert a background audio track in an HTML Page | Yes | |
<big> | To display the text as big text | Yes | |
<blockquote> | Used to define a quote section | ||
<body> | Contain the actual content area of a webpage structure | ||
<br> | Used to break the line of display | ||
<button> | Used to represent the button control in an HTML document | ||
<canvas> | Used for dynamically creating graphics | Yes | |
<caption> | Used to define table captions | ||
<center> | Used to align the text to center | Yes | |
<cite> | Used to define the title of work | ||
<code> | Used to define the computer code | ||
<col> | Specifies one or more column in a table | ||
<colgroup> | Used to specify the column group in table | ||
<datalist> | Used to specify the list of pre-defined options for <input> element | Yes | |
<dd> | Used to specify the term/description/name in a description list | ||
<del> | Used for editorial deletion | ||
<details> | Used to specify additional details | Yes | |
<dfn> | Used to defining instance of a term | ||
<dialog> | Used to represent the dialog box or window | Yes | |
<dir> | Used to list the directory titles | Yes | |
<div> | Used to create block-level elements | ||
<dl> | Description list | ||
<dt> | Definition term or description list term | ||
<em> | Emphasized text | ||
<embed> | Embedding an external application or content into the current HTML documents | Yes | |
<fieldset> | Grouping related form elements | ||
<figcaption> | Defines Caption or legend for <figure> tag | Yes | |
<figure> | Self-contained content reference as a single unit | Yes | |
<font> | Text face, size and color will be specified | Yes | |
<footer> | Specifies the footer of the HTML document | Yes | |
<form> | A Facility to submit the input data by user | ||
<frame> | To define a window in another window or frameset | Yes | |
<frameset> | Define a Frameset | Yes | |
<h1> - <h6> | Used to define HTML headings | ||
<head> | Container for all Head element | ||
<header> | The header of the page or section | Yes | |
<hr> | Horizontal Rule in HTML document | ||
<html> | The HTML element can contain the coding for entire html document | ||
<i> | Alternate Voice or different quality of text | ||
<iframe> | Nested browsing context or inline frame | ||
<img> | Used to display images on the pages | ||
<input> | Used to represent the input form control | ||
<ins> | Editorial Insertion | ||
<kbd> | Keyboard Input | ||
<keygen> | Generating a key pair | Yes | |
<label> | Caption or label for the form control in HTML documents | ||
<legend> | Used to specify caption for the parent element | ||
<li> | Used to represent a list item in HTML document | ||
<link> | Used to define link between external resource from HTML document | ||
<main> | Tag represents the main content area in HTML document | Yes | |
<map> | Used for declaring an image map | ||
<mark> | Used to display the text as highlighted text | Yes | |
<marquee> | Used to scrolling text or image across a defined section of a webpage in a horizontal or vertical direction | Yes | |
<menu> | Used to specify the list of menu commands in HTML documents | ||
<menuitem> | Used to specify the command or menuitem that user can invoke from a popup menu | Yes | |
<meta> | Represents HTML document metadata | ||
<meter> | A scalar measurement of known range | Yes | |
<nav> | Specifies the navigation area | Yes | |
<noframes> | Used to specify the fallback message for browsers that do not support frames | Yes | |
<noscript> | Used if scripting is unsupported or disabled | ||
<object> | Embedded object or external object in an HTML documents | ||
<ol> | Ordered list in html documents | ||
<optgroup> | Used to specify Selection form control option group | ||
<option> | Used to specified option items within a <select> or <datalist> list | ||
<output> | Displays the Result of the calculation or user action | Yes | |
<p> | Paragraph | ||
<param> | Passes the parameters to plugin | ||
<pre> | Preformatted text in HTML document | ||
<progress> | Task completion progress | Yes | |
<q> | Short quotation in the HTML documents | ||
<rb> | Ruby base text in HTML documents | Yes | |
<rp> | Ruby fall back text of ruby annotations in HTML documents | Yes | |
<rt> | Specifies an explanation or pronunciation of characters | Yes | |
<ruby> | Represents ruby annotation | Yes | |
<s> | Specifies the text is no longer correct, accurate or relevant | ||
<samp> | Sample formatting is used to define the computer output | ||
<script> | Inserting scripts in the HTML document | ||
<section> | Section in the HTML documents | Yes | |
<select> | Used to create the drop down lost for user selection | ||
<small> | Small text in HTML document | ||
<source> | Alternative media resources on media elements | Yes | |
<span> | Generic container for text or group inline-elements HTML | ||
<strike> | Strike through text in HTML document | Yes | |
<strong> | Strong importance text in HTML document | ||
<style> | Used to define styles for the HTML document | ||
<sub> | Subscript in HTML document | ||
<summary> | Used to specify the visible heading | Yes | |
<sup> | Used to display the text as Superscripted text | ||
<table> | Represents a table in an HTML document | ||
<tbody> | Group a block of table rows in HTML document | ||
<td> | Table data cell in table HTML documents | ||
<template> | To declare clone and inserted blocks with JavaScript | ||
<textarea> | Multi-line plain text editor control in form of HTML documents | ||
<tfoot> | Table footer or table summary in HTML document | ||
<th> | Table header or table header cell in HTML document | ||
<thead> | Row group consisting of table header columns in HTML document | ||
<time> | Date and/or time in HTML document | Yes | |
<title> | Defines the title of the document | ||
<tr> | Used to specify the row in an HTML <table> | ||
<track> | Timed text track for media elements | Yes | |
<tt> | Teletype text in HTML document | Yes | |
<u> | Unarticulated text/underlined text in HTML document | ||
<ul> | Unordered list in HTML document | ||
<var> | Defines a variable or Variable formatting in HTML document | ||
<video> | Defines video or movie streams in the HTML document | Yes | |
<wbr> | Word break in HTML document | Yes |