-
TagTag DescriptionTag Version
-
<!–….–>Comment tag is used for commenting a line or a code section in a html document.
-
Example : Comment a line in HTML Document.
< !DOCTYPE html >
< html >
< body >
<!– < p >My first paragraph.
< /p > —> /* Comment a line. */
< /body >
< /html >
-
-
<!DOCTYPE>Document type definition describes which version of html to be used like XHTML or HTML5.
-
Example : Doctype in HTML5 Document.
< !DOCTYPE html > /* Doctype Definition*/
< html >
< body >
< h1 > My First Heading < /h1 >
< /body >
< /html >
-
-
<a>Anchor tag is used for linking a text with other file or block in a html document.
-
Example : Anchor link in a HTML5 Document.
< !DOCTYPE html >
< html >
< body >
< a href=”contact.html” > Click to the link. < /a >
< /body >
< /html >
-
-
<abbr>It is used for an abbreviation of a word in html document. 
-
Example : Abbrivation tag in HTML5 Document.
< !DOCTYPE html >
< html >
< body >
< p > <abbr title=”Hyper Text Mark Up Language”>HTML</abbr> is mark up language which is used for creating a html document. < /p >
< /body >
< /html >
-
-
<acronym>It is used for defining an acronym in the Html document.XHTML
-
Example : Acronym tag in HTML5 Document.
< !DOCTYPE html >
< html >
< body >
< p > <acronym title=”Extensible Hyper Text Mark Up Language”>XHTML</acronym> is an other stricter version of Html.. < /p >
< /body >
< /html >
-
-
<address>Define the address and contact details of the owner in html document.
-
<applet>It is used for defining an applet in html document.
-
<area>Area tag is used for defining an area inside an map tag.
-
<article>Article tag is used for defining an article section in html document.HTML 5
-
<aside>This tag is used for defining a side bar in html document.HTML 5
-
<audio>It is used for inserting an audio ( mp3 or wav format) file in html document.HTML 5
-
<b>It is used for creating a bold text in a html document.
-
<base>Describe the base url or target url of all links in html document.
-
<basefont>Describe the default font style in html document.
-
<bdo>BDO tag (Bi directional override) is used for change the current direction of text in html document.
-
<bdi>BDI tag (Bi Directional Isolates) change a part of text in different direction from other text in html document.HTML 5
-
<bgsound>Add a background sound in html document.
-
<big>It is used for formatting text which is bigger from normal font size.
-
<blink>It is used for defining text which blinks.
-
<blockquote>It is used for defining a long block quotes in html document.
-
<body>Define body part of html document.
-
<br>Insert a line break in html document.
-
<button>Button tag is used for defining a click-able button in html document.
-
<canvas>Define graphics which is created by using javascriptHTML 5
-
<caption>Caption tag define table captions in html document.
-
<center>It is used for center align a text in html document.
-
<cite>It is used for citation in html document.
-
<code>It is used for defining a code block in html document.
-
<col>Define column attribute for every column within a colgroup tag in html document.
-
<colgroup>It defines a group of columns for formatting tables.
-
<comment>It is used for defining a comment section in html document.
-
<datalist>HTML 5
-
<dd>
-
<del>
-
<dfn>
-
<dialog>HTML 5
-
<dir>
-
<div>
-
<dl>
-
<dt>
-
<em>
-
<embed>HTML 5
-
<fieldset>
-
<figcaption>HTML 5
-
<figure>HTML 5
-
<font>
-
<footer>HTML 5
-
<form>
-
<frame>
-
<frameset>
-
<h1> to <h6>
-
<header>
-
<hr>
-
<html>
-
<i>
-
<iframe>
-
<ilayer>
-
<img>
-
<input>
-
<ins>
-
<isindex>
-
<kbd>
-
<keygen>HTML 5
-
<label>
-
<layer>
-
<legend>
-
<li>
-
<link>
-
<main>HTML 5
-
<map>HTML 5
-
<mark>HTML 5
-
<marquee>
-
<menu>
-
<menuitem>HTML 5
-
<meter>
-
<multicol>
-
<nav>HTML 5
-
<nobr>
-
<noembed>
-
<noframes>
-
<noscript>
-
<object>
-
<ol>
-
<optgroup>
-
<option>
-
<output>HTML 5
-
<p>
-
<param>
-
<plaintext>
-
<pre>
-
<progress>HTML 5
-
<q>
-
<rp>HTML 5
-
<rt>HTML 5
-
<ruby>HTML 5
-
<s>
-
<samp>
-
<script>
-
<section>Html 5
-
<select>
-
<spacer>
-
<small>
-
<source>
-
<span>
-
<strike>
-
<strong>
-
<style>
-
<sub>
-
<summary>
-
<sup>
-
<table>
-
<tbody>
-
<td>
-
<textarea>
-
<tfoot>
-
<th>
-
<thead>
-
<time>HTML 5
-
<title>
-
<tr>
-
<track>HTML5
-
<tt>
-
<u>
-
<ul>
-
<var>It is used for describing a variable in html document.
-
<video>It is used for inserting video in html document.HTML5
-
<wbr>It is for word break in html document.
-
<xmp>It is used for preformatted text.
XHTML Tags Tutorial and XHTML Tags Reference
Last Updated on: June 7, 2018