0% found this document useful (0 votes)
39 views

HTML - Tag Reference

This document provides a reference of HTML tags, listing each tag and a brief description. It notes which tags were introduced in older versions of HTML but are now part of HTML5. The tags are listed alphabetically from <!DOCTYPE> to <sup> with descriptions like "Specifies a short quotation" or "Specifies a section in a document."

Uploaded by

Ayush
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

HTML - Tag Reference

This document provides a reference of HTML tags, listing each tag and a brief description. It notes which tags were introduced in older versions of HTML but are now part of HTML5. The tags are listed alphabetically from <!DOCTYPE> to <sup> with descriptions like "Specifies a short quotation" or "Specifies a section in a document."

Uploaded by

Ayush
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

11/26/21, 7:38 PM HTML - Tag Reference

HTML - Tag Reference

Following tags have been introduced in older versions of HTML but all the tags marked with
are part of HTML-5.

https://www.tutorialspoint.com/html/html_tags_reference.htm 1/7
11/26/21, 7:38 PM HTML - Tag Reference

Tag Description Version

<!--...--> Specifies a comment

<!DOCTYPE> Specifies the document type

<a> Specifies an anchor

<abbr> Specifies an abbreviation

<acronym> Specifies an acronym

<address> Specifies an address element

<applet> Deprecated. Specifies an applet

<area> Specifies an area inside an image map

<article> Specifies an article

Specifies some content loosely related to the page content. If it


<aside>
is removed, the remaining content still makes sense

<audio> Specifies a sound content

<b> Specifies bold text

<base> Specifies a base URL for all the links in a page

<basefont> Deprecated. Specifies a base font

<bdo> Specifies the direction of text display

Represents text that must be isolated from its surrounding for


<bdi> bidirectional text formatting. It allows embedding a span of text
with a different, or unknown, directionality

<bgsound> Specifies background music

<big> Specifies big text

<blink> Specifies a text which blinks

<blockquote> Specifies a long quotation

<body> Specifies the body element

<br> Inserts a single line break

https://www.tutorialspoint.com/html/html_tags_reference.htm 2/7
11/26/21, 7:38 PM HTML - Tag Reference

<button> Specifies a push button

<canvas> For making graphics with a script

<caption> Specifies a table caption

<center> Deprecated. Specifies centered text

<cite> Specifies a citation

<code> Specifies computer code text

<col> Specifies attributes for table columns

<colgroup> Specifies groups of table columns

<comment> Puts a comment in the document

<datalist> A list of options for input values

<dd> Specifies a definition description

<del> Specifies deleted text

<dfn> Specifiesa definition term

<dialog> Specifiesa dialog box or window

<dir> Deprecated. Specifies a directory list

<div> Specifies a section in a document

<dl> Specifies a definition list

<dt> Specifies a definition term

<em> Specifies emphasized text

<embed> Specifiesa container for an external (non-HTML) application

<fieldset> Specifies a fieldset

<figcaption> Specifiesa caption for a <figure> element

<figure> Specifies self-contained content

<font> Deprecated. Specifies text font, size, and color

https://www.tutorialspoint.com/html/html_tags_reference.htm 3/7
11/26/21, 7:38 PM HTML - Tag Reference

<footer> Specifies a footer for a document or section

<form> Specifies a form

<frame> Specifies a sub window (a frame)

<frameset> Specifies a set of frames

<h1> to <h6> Specifies header 1 to header 6

<head> Specifies information about the document

<header> Specifies a header for a document or section

<hr> Specifies a horizontal rule

<html> Specifies an html document

<i> Specifies italic text

<iframe> Specifies an inline sub window (frame)

<ilayer> Specifies an inline layer

<img> Specifies an image

<input> Specifies an input field

<ins> Specifies inserted text

<isindex> Deprecated. Specifies a single-line input field

<kbd> Specifies keyboard text

<keygen> Generate key information in a form

<label> Specifies a label for a form control

<layer> Specifies a layer

<legend> Specifies a title in a fieldset

<li> Specifies a list item

<link> Specifies a resource reference

Specifies the main or important content in the document. There


<main> is only one
element in the document

https://www.tutorialspoint.com/html/html_tags_reference.htm 4/7
11/26/21, 7:38 PM HTML - Tag Reference

<map> Specifies an image map

Specifies a text highlighted for reference purposes, that is for its


<mark>
relevance in another context

<marquee> Creates a scrolling-text marquee

<menu> Deprecated. Specifies a menu list

Specifies a command/menu item that the user can invoke from


<menuitem>
a popup menu

Specifies meta data of an html document which is not displayed


<meta>
on the page

<meter> Specifies a scalar measurement within a known range (a


gauge)

<multicol> Specifies a multicolumn text flow

<nav> Specifies a section that contains only navigation links

<nobr> No breaks allowed in the enclosed text

Specifies content to be presented by browsers that do not


<noembed>
support the <embed>tag

<noframes> Specifies a noframe section

<noscript> Specifies a noscript section

<object> Specifies an embedded object

<ol> Specifies an ordered list

<optgroup> Specifies an option group

<option> Specifies an option in a drop-down list

<output> Specifies the result of a calculation

<p> Specifies a paragraph

<param> Specifies a parameter for an object

Deprecated. Render the remainder of the document as


<plaintext>
preformatted plain text

<pre> Specifies preformatted text

https://www.tutorialspoint.com/html/html_tags_reference.htm 5/7
11/26/21, 7:38 PM HTML - Tag Reference

<progress> Specifies a completion progress of a task

<q> Specifies a short quotation

Specifies to show browsers that do not support the ruby


<rp>
element

<rt> Specifies an text ruby annotation

<ruby> Specifies an ruby annotation

<s> Deprecated. Specifies strikethrough text

<samp> Specifies sample computer code

<script> Specifies a script

<section> Specifies a section in a document

<select> Specifies a selectable list

<spacer> Specifies a white space

<small> Specifies small text

Specifies a media resources for media elements, defined inside


<source>
video or audio elements

<span> Specifies a section in a document

<strike> Deprecated. Specifies strikethrough text

<strong> Specifies strong text

<style> Specifies a style definition

<sub> Specifies subscripted text

<summary> Specifies a summary, caption, or legend for a given <details>

<sup> Specifies superscripted text

<table> Specifies a table

<tbody> Specifies a table body

<td> Specifies a table cell

https://www.tutorialspoint.com/html/html_tags_reference.htm 6/7
11/26/21, 7:38 PM HTML - Tag Reference

<textarea> Specifies a text area

<tfoot> Specifies a table footer

<th> Specifies a table heading

<thead> Specifies a table header

<time> Specifies a date and time <details>

<title> Specifies the document title

<tr> Specifies a table row

<track> Specifies a text tracks used in mediaplayers

<tt> Specifies teletype text

<u> Deprecated. Specifies underlined text

<ul> Specifies an unordered list

<var> Specifies a variable

<video> Specifies a text tracks used in media players

<wbr> Indicates a potential word break point within a <nobr> section

<xmp> Deprecated. Specifies preformatted text

https://www.tutorialspoint.com/html/html_tags_reference.htm 7/7

You might also like