HTML Tags
In this tutorial, we will list all the html tags in a simple way
HTML tags are like keywords which characterizes that how web browser will arrange and show the substance. With the assistance of labels, a web browser can recognize between an HTML content and a simple content. HTML labels contain three fundamental parts: opening tag, substance and closing tag. But a few HTML labels are unclosed labels.
we have a complete list (and brief description) of every tag in the HTML, including the latest additions in HTML5.
Syntax
<tag_name> ...... </tag_name>
Example of HTML Tags
Example
Edit it yourself<!DOCTYPE html>
<html>
<head>
<title>This is a page title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<img src="https://www.webthestuff.com/images/demo/html.png">
<br>
<a href="#">This is a linik</a>
<br>
<b>This is a bold text</b>
</body>
</html>
Output of HTML Introduction
Edit it yourselfHTML Tag List
Tag | Description |
---|---|
<!-- -----> | This is a comment |
<!DOCTYPE> | This tag is used to specifies the document type |
<a> | This tag is used to specifies the hyperlink or link. |
<abbr> | This tag is used to specifies an abbreviation for a phrase or longer word. |
<address> | This tag is used to contact information for the author/owner of a document |
<area> | This tag is used to area inside an image map |
<article> | This tag is used right in article |
<aside> | This tag is used to content aside from the page content |
<audio> | This tag is used to embedded sound content |
<b> | This tag is used to bold text |
<base> | This tag is used to specifies the base URL/target for all relative URLs in a document |
<bdo> | This tag is used to Overrides the current text direction |
<blockquote> | This tag is used to section that is quoted from another source |
<body> | This tag is used to document's body |
<br> | This tag is used to break the line |
<button> | This tag is used to clickable button |
<canvas> | This tag is used to draw the graphics |
<caption> | This tag is used to table caption |
<cite> | This tag is used to title of a work |
<code> | This tag is used to defines a computer code |
<col> | This tag is used to column properties |
<colgroup> | This tag is used to group of one or more columns in a table for formatting |
<data> | This tag is used to adds a machine readable change to the content |
<datalist> | This tag is used to adds a machine readable change to the content | <dd> | It is used to provide definition/description of a term in description list. |
<del> | It defines a text which has been deleted from the document. |
<details> | It defines additional details which user can either view or hide. |
<dfn> | It is used to indicate a term which is defined within a sentence/phrase. |
<dialog> | It defines a dialog box or other interactive components. |
<div> | this tag used to defines a division or section within HTML document. |
<dl> | This is sued to define a description list. |
<dt> | It is used to define a term in description list. |
<em> | It is used to emphasis the content applied within this element. |
<embed> | this is tag to used as embedded container for external file |
<fieldset> | It is used to group related elements/labels within a web form. |
<figcaption> | this is tag used to add a caption or explanation for the <figure> element. |
<figure> | It is used to define the self-contained content, and s mostly refer as single unit. |
<footer> | defines the footer section of a webpage. |
<form> | this is used to define an HTML form. |
<h1><h6> | It defines headings for an HTML document from level 1 to level 6. |
<head> | It defines the head section of an HTML document. |
<header> | defines the header of a section or webpage. |
<hr> | It is used to apply thematic break between paragraph-level elements. |
<html> | this tag represents root of an HTML document. |
<i> | this is used to represent a text in some different voice. |
<iframe> | It defines an inline frame which can embed other content. |
<img> | It is used to insert an image within an HTML document. |
<input> | defines input field within an HTML form. |
<ins> | this is tag used to represent text that has been inserted within an HTML document. |
<kbd> | this is used to define keyboard input. |
<label> | It defines a text label for the input field of form. |
<legend> | this is defines a caption for content of <fieldset> |
<li> | it is used to represent items in list. |
<link> | this is presentation status display external and present |
<main> | this is tag in image map with active areas. |
<mark> | do represents a highlighted text. |
<menu> | used to scalar measurement with known range or fractional value. |
<meter> | defines scalar measurement with known range or fractional value. |
<nav> | this is represents section of page to represent navigation links. |
<noscript> | It provides an alternative content if a script type is not supported in browser. |
<object> | this is used to embed an object in HTML file. |
<ol> | defines tp ordered list of items. |
<option> | It is used to group the options of a drop-down list. |
<output> | It is used as container element which can show result of a calculation. |
<p> | It represents a paragraph in an HTML document. |
<param> | this defines parameter for an <object> element |
<picture> | defines to more than one source element and one image element. |
<pre> | this is defines preformatted text in an HTML document. |
<progress> | defines the progress of a task within HTML document. |
<q> | this is tag used to defines short inline quotation. |
<rp> | it is tag use to alternative content if browser does not supports ruby annotations. |
<rt> | defines explanations and pronunciations in ruby annotations. |
<ruby> | this is used to represent ruby annotations. |
<s> | this is render text which is no longer correct or relevant. |
<samp> | It is used to represent sample output of a computer program. |
<script> | this is used to declare the JavaScript within HTML document. |
<section> | this is used to generic section for a document. |
<select> | It represents a control which provides a menu of options. |
<small> | It is used to make text font one size smaller than document?s base font size. |
<span> | It is used for styling and grouping inline. |
<source> | It defines multiple media recourses for different media element. |
<strong> | It is used to define important text. |
<style> | this is used to contain style information for an HTML document. |
<sub> | It defines a text which displays as a subscript text. |
<summary> | this is used to summary which can be used with <details> tag. |
<sup> | this tag defines a text which represent as superscript text. |
<svg> | It is used as container of SVG (Scalable Vector Graphics). |
<table> | this is used to present data in tabular form or to create a table within HTML document. |
<tbody> | It represents the body content of an HTML table and used along with >thead< and >tfoot<. |
<td> | It is used to define cells of an HTML table which contains table data |
<template> | This is used to contain the client side content which will not display at time of page load and may render later using JavaScript. |
<textarea> | It is used to define multiple line input, such as comment, feedback, and review, etc. |
<tfoot> | It defines the footer content of an HTML table. |
<th> | It defines the head cell of an HTML table. |
<thead> | It defines the header of an HTML table. |
<time> | It is used to define data/time within an HTML document. |
<title> | It defines the title or name of an HTML document. |
<tr> | defines the row cells in an HTML table |
<track> | It is used to define text tracks for <audio> and <video> elements. |
<u> | It is used to render enclosed text with an underline. |
<ul> | this is used to unordered list of items. |
<var> | it is variable name used in mathematical or programming context. |
<video> | this is used to embed a video content with an HTML document |
<wbr> | this defines a position within text where break line is possible. |