HTML and HTML5 Tags

HTML stands for Hypertext Markup Language.
The main confusion in HTML is between HTML Elements and HTML Tags. Tags are used in HTML but not the Elements.

HTML Tags are the keywords which are hidden within a webpage, which shows how the webpage should appear such as text format, image size, video etc. Tags have two parts opening and closing part. Opening part looks as <tags> and a closing part look like </tags>



The important HTML Tags are listed below according to the alphabetical order and also according to the usage in HTML and HTML5

HTML includes Version from 1.0 to 4.0 also known as XHTML, which is used only for text and image.

HTML5 is latest version different from others versions, it is in an application development platform. This includes not only text and image but also playing audio and video such as 2d and 3d graphics. It also deals with online and offline access of data.



HTML & HTML5

Tag

Description

<!DOCTYPE>
New Document
<a>
A Hyperlink
<abbr>
The abbreviation or a acronym
<address>
The contact information of
author/owner of the document
<area>
The area inside the image
<b>
Bold text
<i>
Italic text
<u>
Underline text
<base>
Specifies the base URL/target for all
relative URL’s in the Document
<bdo>
Overrides the current text direction
<black quote>
A section that is quoted from another source
<body>
The body of the Document
<br>
The line break
<button>
A clickable button
<Caption>
A table caption
<cite>
The title of a work
<code>
The piece of the code
<col>
Specifies column properties of each column
within a closed group
<dd>
Description/value of a term in description list
<del>
Text has been deleted from the Document
<dfn>
Represents the defining instance of a term
<div>
Section in a Document
<dl>
Description List
<dt>
A term/name in a description list
<em>
Emphasized Text
<fieldset>
Groups related elements in a form
<form>
HTML form for user input
<h1> to <h6>
HTML headings
<head>
Information about the document
<hr>
A thematic change in the content
<html>
A root of an HTML document
<i>
A part of text in an alternate voice or mood
<iframe>
An inline frame
<img>
image
<input>
An input Control
<ins>
A text that has been inserted into a document
<kbd>
Keyboard input
<label>
A label  for an <input> element
<legend>
A caption for a <fieldset> element
<li>
list item
<link>
The relationship between a
document and an external source
<map>
A client-side image-map
<menu>
A list/menu of commands
<meta>
Metadata about an HTML document
<noscript>
An alternate content for users that
do not support client-side scripts
<object>
An embedded object
<ol>
ordered list
<optgroup>
Group of related options in a drop-down list
<option>
option in a drop-down list
<p>
Paragraph
<param>
A parameter for an object
<pre>
Pre-formatted text
<q>
A short quotation
<s>
Text that is no longer correct
<samp>
Sample output from a computer program
<script>
A client-side script
<select>
A drop down list
<small>
Smaller text
<span>
A section in a document
<strong>
Important text
<style>
Style information for a document
<sub>
Sub-scripted text
<sup>
Super-scripted text
<table>
Table
<tbody>
Groups the body content in a table
<td>
A cell in a table
<textarea>
A multi line input control (text area)
<tfoot>
The footer content in the table
<th>
A header cell in the table
<thead>
Groups the header content in the table
<title>
A title for the document
<tr>
A row in a table
<u>
Text that should be stylistically different
<ul>
An unordered list
<var>
A variable





New in HTML5
<article>
An article
<aside>
Content aside from the page content
<audio>
Sound content
<bdi>
Isolates a part of text that might be formatted in different
direction from other text outside of it
<canvas>
Used to draw graphics, via scripting (usually Javascript)
<datalist>
Specifies a list of pre-defined options for input controls
<details>
Additional details that the user can view or hide
<dialog>
A dialog box or window
,embed>
A container for an external (non-HTML) application
<figcaption>
A caption for a <figure> element
<figure>
Specifies self-contained content
<footer>
A footer for a document or section
<header>
A header for a document/section
<keygen>
A key-pair generator field (for forms)
<main>
Specifies the main content of a document
<mark>
Marked/highlighted text
<menuitem>
A command/menu item that the user
can invoke from a popup menu
<meter>
A scalar measurement within
a known range(a gauge)
<nav>
Navigation links
<output>
The result of the calculation
<progress>
Represents the progress of a task
<rp>
What to show in browsers that
do not support ruby annotations
<rt>
An explanation/pronunciation
of characters (for Easy Asian typography)
<ruby>
A ruby annotation (for Easy Asian typography)
<section>
A section in a document
<source>
Multiple media resources
for media elements (<video> and <audio>
<summary>
A visible heading for a <details> element
<time>
date/time
<track>
Text tracks for media elements (<video> and <audio>)
<video>
video/movie
<wbr>
possible line break





Not Supported in HTML5
<acronym>
acronym
<applet>
An embedded applet
<basefront>
Specifies a default color, size, and font
for all text in a document
<big>
Big text
<center>
Centered text
<dir>
Directory list
<font>
Font, color and size for text
<frame>
Window (a frame) in a frameset
<frameset>
Set of frames
<noframes>
Alternate content for users that do not support frames
<strike>
Strikethrough text
<tt>
Teletype text




Note:
"HTML & HTML5" These tags can be used or included in both HTML &HTML5
"New in HTML5" These tags are newly included in HTML5 and are not present in HTML
"Not Supported in HTML5" These tags are not supported in HTML5

No comments:

Post a Comment

© 2013-2022 AppsWindoW. All rights reserved, the content is copyrighted to AppsWindoW (MK)