Skip to main content

HTML tags list


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


Tag Version Description
<!--...--> Defines a comment.
<!DOCTYPE>  Defines the document type.
<a> Defines a hyperlink.
<abbr> Defines an abbreviation or an acronym.
<acronym> Not supported in HTML5. Use <abbr> instead.
Defines an acronym.
<address> Defines contact information for the author/owner of a document.
<applet> Not supported in HTML5. Use <embed> or <object> instead.
Defines an embedded applet.
<area> Defines an area inside an image-map.
<article> (HTML5) Defines an article.
<aside> (HTML5) Defines content aside from the page content.
<audio> (HTML5) Defines sound content.
<b> Defines bold text.
<base> Specifies the base URL/target for all relative URLs in a document.
<basefont> Not supported in HTML5. Use CSS instead.
Specifies a default color, size, and font for all text in a document.
<bdi> (HTML5) Isolates a part of text that might be formatted in a different direction from other text outside it.
<bdo> Overrides the current text direction
<big> Not supported in HTML5. Use CSS instead.
Defines big text
<blockquote> Defines a section that is quoted from another source
<body> Defines the document's body
<br> Defines a single line break
<button> Defines a clickable button
<canvas> (HTML5) Used to draw graphics, on the fly, via scripting (usually JavaScript)
<caption> Defines a table caption
<center> Not supported in HTML5. Use CSS instead.
Defines centered text
<cite> Defines the title of a work
<code> Defines a piece of computer code
<col> Specifies column properties for each column within a <colgroup> element 
<colgroup> Specifies a group of one or more columns in a table for formatting
<datalist> (HTML5) Specifies a list of pre-defined options for input controls
<dd> Defines a description/value of a term in a description list
<del> Defines text that has been deleted from a document
<details> (HTML5) Defines additional details that the user can view or hide
<dfn> Represents the defining instance of a term
<dialog> (HTML5) Defines a dialog box or window
<dir> Not supported in HTML5. Use <ul> instead.
Defines a directory list
<div> Defines a section in a document
<dl> Defines a description list
<dt> Defines a term/name in a description list
<em> Defines emphasized text 
<embed> (HTML5) Defines a container for an external (non-HTML) application.
<fieldset> Groups related elements in a form.
<figcaption> (HTML5) Defines a caption for a <figure> element.
<figure> (HTML5) Specifies self-contained content.
<font> Not supported in HTML5. Use CSS instead.
Defines font, color, and size for text.
<footer> (HTML5) Defines a footer for a document or section.
<form> Defines an HTML form for user input.
<frame> Not supported in HTML5.
Defines a window (a frame) in a frameset.
<frameset> Not supported in HTML5.
Defines a set of frames
<h1> to <h6> Defines HTML headings.
<head> Defines information about the document.
<header> (HTML5) Defines a header for a document or section.
<hr> Defines a thematic change in the content.
<html> Defines the root of an HTML document.
<i> Defines a part of text in an alternate voice or mood.
<iframe> Defines an inline frame.
<img> Defines an image.
<input> Defines an input control.
<ins> Defines a text that has been inserted into a document.
<kbd> Defines keyboard input.
<keygen> (HTML5) Defines a key-pair generator field (for forms).
<label> Defines a label for an <input> element.
<legend> Defines a caption for a <fieldset> element.
<li> Defines a list item.
<link> Defines the relationship between a document and an external resource (most used to link to style sheets).
<main> (HTML5) Specifies the main content of a document.
<map> Defines a client-side image-map.
<mark> (HTML5) Defines marked/highlighted text.
<menu> Defines a list/menu of commands.
<menuitem> (HTML5) Defines a command/menu item that the user can invoke from a popup menu.
<meta> Defines metadata about an HTML document.
<meter> (HTML5) Defines a scalar measurement within a known range (a gauge).
<nav> (HTML5) Defines navigation links.
<noframes> Not supported in HTML5.
Defines an alternate content for users that do not support frames
<noscript> Defines an alternate content for users that do not support client-side scripts.
<object> Defines an embedded object.
<ol> Defines an ordered list.
<optgroup> (HTML5) Defines a group of related options in a drop-down list.
<option> Defines an option in a drop-down list.
<output> (HTML5) Defines the result of a calculation.
<p> Defines a paragraph.
<param> Defines a parameter for an object.
<pre> Defines preformatted text.
<progress> (HTML5) Represents the progress of a task.
<q> Defines a short quotation.
<rp> (HTML5) Defines what to show in browsers that do not support ruby annotations.
<rt> (HTML5) Defines an explanation/pronunciation of characters (for East Asian typography).
<ruby> (HTML5) Defines a ruby annotation (for East Asian typography).
<s> Defines text that is no longer correct.
<samp> Defines sample output from a computer program.
<script> Defines a client-side script.
<section> (HTML5) Defines a section in a document.
<select> Defines a drop-down list.
<small> Defines smaller text.
<source> (HTML5) Defines multiple media resources for media elements (<video> and <audio>).
<span> Defines a section in a document.
<strike> Not supported in HTML5. Use <del> or <s> instead.
Defines strikethrough text.
<strong> Defines important text
<style> Defines style information for a document
<sub> Defines subscripted text
<summary> (HTML5) Defines a visible heading for a <details> element
<sup> Defines superscripted text
<table> Defines a table
<tbody> Groups the body content in a table
<td> Defines a cell in a table
<textarea> Defines a multiline input control (text area)
<tfoot> Groups the footer content in a table
<th> Defines a header cell in a table
<thead> Groups the header content in a table
<time> (HTML5) Defines a date/time.
<title> Defines a title for the document.
<tr> Defines a row in a table.
<track> (HTML5) Defines text tracks for media elements (<video> and <audio>)
<tt> Not supported in HTML5. Use CSS instead.
Defines teletype text.
<u> Defines text that should be stylistically different from normal text.
<ul> Defines an unordered list.
<var> Defines a variable.
<video> (HTML5) Defines a video or movie.
<wbr> (HTML5) Defines a possible line-break.

Comments

Popular posts from this blog

Top 10 Best Video Editing Apps for Android

            Top 10 Best Video Editing Apps for Android                                                                                                                       Magisto Video Editor & Maker Magisto Video Editor  automatically  turns your photos and video clips into  magical  music videos that you’ll want to share with friends and family on Facebook, Instagram and more. Magisto Video Maker has over  80 million  happy users worldwide and was featured in  Google Play Editors’ Choice , Google's list of  Best Android Apps of 2015  and CES best app of the year! Express your creativity - make a movie an...

Removing HTML Tags from string in C#

Hello friends, With this very first post of our new Blog GimiBits, we start our whole new journey contributing to information technology. Our First post is about the logic to remove the HTML tags from the given string with C# (C Sharp) programming language. Logic is very Simple to Implement, we take up a string and for its each index char we find the opening '<' braces and ignores the inside content until the closing '>' braces is not encountered and save to another char[] datatype. Here is a function based Implementation of the logic:  public string RemoveHtmlTags(string Html)         {             string content = Html;             char[] array = new char[content.Length];             int arrayIndex = 0;           ...

C-Operators

An operator is a symbol that operates on a certain data types and produce the output as the result of the operation. Category of Operators • Unary Operator An unary operator is an operator which operates on one operand that is it operates on itself.            Operand1 operator Here Operand1 may be a variable , a constant or an expression etc.    For example: -b , ~a , x+1 etc. • Binary Operator A binary operator is an operator which operates on two operands. Operand1 operator Operand2 Here Operand1 and Operand2 maybe a variable, a constant or an expression etc. and Operator must be either arithmetic type or relational type or logical type etc.    For example: a+b , a && b , etc. • Ternary Operator A ternary operator is an operator which operates on 3 operands. Operand1 o perator Operand2 operator Operand3   Here Operand1 , Operand 2 , Operand3 may be a variable ...