HTML5 Tags

You are Here:

HTML5 Tags

The following are the list of tags available in HTML5.

AttributeExplanation
<!--comment-->Add comments in the HTML code.
<!DOCTYPE html>Helps the browser to determine which version your html file belongs.
<a>Defines a hyperlink.
<abbr>Defines an abbreviation or acronym.
<address>Defines the contact information for the author/organisation relevant to the current site, document or an article.
<area>Defines a clickable region on an image-map.
<article>Specifies a self-contained piece of independent content in a page, which is intended to be distributable or reusable to other websites and platforms as a stand-alone unit.
<aside>Defines a portion of a document whose content is only indirectly related to the document's main content.
<audio>Adds audio files to an HTML document.
<b>Make the enclosed text to appear bold, without any extra importance.
<base>Specifies the base URL to use for all relative URLs contained within a document.
<bdi>Isolates a part of text from its surroundings for the purposes of bidirectional text formatting.
<bdo>Overrides the current directionality of text.
<blockquote>Indicates long quotations.
<body>Represents the content of an HTML document.
<br>Inserts a line break in text.
<button>Create a clickable HTML button.
<canvas>Draws graphics via JavaScript.
<caption>Defines a caption to an HTML table.
<cite>Defines the title of a work.
<code>Indicates a piece of computer code.
<col>Specifies a column within a table.
<colgroup>Specifies a group of columns within a table.
<data>Links a given content with a machine-readable translation.
<datalist>Specifies a list of <option> elements that is used as an autocompletion values for an associated <input> element.
<dd>Describes about the preceding term (<dt>) in the description list (<dl>).
<del>Specifies a range of text that has been deleted from a document.
<details>Represents additional details that the user can view or hide on demand.
<dfn>Indicates a definition of the term.
<dialog>Specifies a dialog box or window.
<div>Defines a section of a HTML document.
<dl>Specifies a description list.
<dt>Specifies a term in a description or definition list.
<em>Renders text as emphasized text.
<embed>Adds an external application or interactive content such as Flash-based object into an HTML.
<fieldset>Used to group related fields in an HTML form.
<figcaption>Defines a caption for a <figure> element.
<figure>Specifies self-contained content related to the main content, such as an image, table, list, chart, etc.
<footer>Defines the footer of an HTML document or nearest section.
<form>Creates an HTML form for user input.
<h1> to <h6>Specifies the HTML headings.
<head>A container to hold lots of metadata information about the content of the page.
<header>Contains the introductory contents or navigational links.
<hr>Defines a thematic break between paragraph-level elements.
<html>Tells the browser to treat this file as as HTML document.
<i>Specifies the text in an alternate voice or mood, or otherwise offset from the normal prose.
<iframe>Embeds another document into the current HTML document.
<img>Adds an image into a document.
<input>Creates form fields that accept single-line user input.
<ins>Specifies a range of text that has been added to a document.
<kbd>Indicates the text to be entered by the user.
<label>Defines a caption for a <button>, <input>, <meter>, <output>, <progress>, <select>, or <textarea> element.
<legend>Specifies a caption for the content of its parent <fieldset>.
<li>Defines a list item.
<link>Defines a relationship between an HTML document and an external resources (CSS stylesheets).
<main>Defines the main content of the <body> of a document.
<map>Contains one or more <area> elements to define an image-map.
<mark>Used to mark or highlight the relevant text in the content.
<meta>Adds machine-readable information to an HTML document.
<meter>Specifies either a scalar value within a known range or a fractional value.
<nav>Specifies a section of a page whose purpose is to provide navigation links.
<noscript>Provides alternative content for user who disabled scripts in their browser or or have a browsers that don't support script.
<object>Embeds an object in an HTML document.
<ol>Defines an ordered list of items.
<optgroup>Create a group of options within a <select> element.
<option>Define an item contained in the <select> tag, an <optgroup> tag, or a <datalist> tag.
<output>Represents the result of a calculation or the outcome of a user action.
<p>Defines a paragraph.
<param>Defines parameters for an <object> element.
<picture>Provides versions of an image for different display/device scenarios.
<pre>Represents preformatted text.
<progress>Displays an indicator showing the completion progress of a task.
<q>Defines a short inline quotation.
<rb>Delimits the base text component of a <ruby> annotation i.e., The <rb> element is used to separate out each segment of the ruby base text.
<rp>Provides fall-back parentheses for browsers that do not support display of ruby annotations using the <ruby> element.
<rt>Specifies the ruby text component of a ruby annotation, which is used to provide pronunciation, translation, or transliteration information for East Asian typography.
<rtc>Marks a ruby text container for ruby text components in a ruby annotation.
<ruby>Specifies a ruby annotation.
<s>Specifies text that are no longer relevant or no longer accurate.
<samp>Represents sample output from a computer program.
<script>Adds JavaScript code in an HTML document.
<section>Defines sections in a document.
<select>Specifies a drop-down that provides a menu of options.
<small>Defines smaller text.
<source>Specifies multiple media resources for the <audio>, the <video> element, or the <picture> element.
<span>Groups inline-elements in a document.
<strong>Indicates that its content is very important.
<style>Add CSS style rules to an HTML document.
<sub>Defines subscript text. For example, CO2, H2O, etc.
<summary>Specifies a summary for a <details> element. The summary can be clicked to view/hide the details.
<sup>Defines superscript text. For example, 52, 3rd, etc.
<svg>Used as a container for SVG graphics.
<table>Specifies an HTML table.
<tbody>Specifies a body content in an HTML table.
<td>Specifies a data cell in an HTML table.
<template>Holds the HTML content hidden from the browser.
<textarea>Defines a multi-line plain-text editing control.
<tfoot>Specifies a footer content in an HTML table.
<th>Specifies a header cell in an HTML table.
<thead>Specifies a header content in an HTML table.
<time>Defines a human-readable specific period in time.
<title>Specifies the title of a web page.
<tr>Specifies a row in an HTML table.
<track>Used as a child of an <audio> or <video> element to specify timed text tracks, for example to automatically handle subtitles.
<u>Underlines the enclose text within it.
<ul>Defines an unordered list of items.
<var>Specifies the name of a variable in programming context.
<video>Adds video files to an HTML document.
<wbr>Specifies a text break opportunity.

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author