Tags Description Syntax
According to the HTML specification
!DOCTYPE
or standards, every HTML document < !DOCTYPE html >
html
requires a document type declaration.
The address tag in HTML indicates
address the contact information of a person or <address> … </address>
an organization.
The anchor tag in HTML is used to
anchor <a href=” “> …</a>
create a hyperlink on the webpage.
The applet tag in HTML was used to
embed Java applets into any HTML
applet <applet>….</applet>
document, discontinued starting from
HTML 5.
This area tag is used in an HTML
document to map a portion of an
area <area>
image to make it clickable by the
end-user.
The body tag in HTML is used to
body define the main content present inside <body> Contents… </body>
an HTML page.
The bold tag in HTML is used to
bold specify the bold text without any <b>… </b>
extra importance.
The break tag inserts a single carriage
break return or breaks in the document. <br>
This element has no end tag.
The button tag in HTML is used to
button define the clickable button. <button> <button type = “button”>
tag is used to submit the content.
The center tag in HTML is used to
center set the alignment of text in the center. <center> Contents.</center>
Not supported in HTML5.
The col tag in HTML is used to set
column the column properties for each <col attribute = “value”>
column within a colgroup tag.
The comment tag is used to insert
comment <!–…–>
comments in the HTML code.
The div tag is used in HTML to make
divisions of content in the web page
div <div>Content</div>
(text, images, header, footer,
navigation bar, etc).
Tags Description Syntax
The font tag in HTML plays an
important role in the web page to
font <font attribute = “value”> Content </font>
create an attractive and readable web
page.
This form is used basically for the
registration process, logging into
form <form> Form Content… </form>
your profile on a website or creating
your profile on a website, etc …
HTML Frames are used to divide the
frame web browser window into multiple <frame/>
sections. Not supported in HTML5.
The frameset element contains one or
more frame elements. It is used to
frameset specify the number of rows and <frameset cols = “pixels|%|*”>
columns in a frameset with their pixel
of spaces.
The head tag in HTML is used to
define the head portion of the
head <head>…</head>
document which contains information
related to the document.
The header tag is used to contain the
header information related to the title and <header> …</header>
heading of the related content.
An HTML heading tag is used to
define the headings of a page. These
heading 6 heading elements are h1, h2, h3, h4, <h1>Heading1</h1><h2>Heading2</h2>
h5, and h6; with h1 being the highest
level and h6 being the least.
The hgroup tag in HTML is used to
wrap one or more heading elements
hgroup <hgroup> … </hgroup>
from <h1> to <h6>, such as the
headings and sub-headings.
The hr tag in HTML stands for
hr horizontal rule and is used to insert a <hr>
horizontal rule.
The html tag in HTML is used to
html define the root of HTML and <html> Contents </html>
XHTML documents.
HTML Image, how to add the image
<img src=”url” alt=”some_text” width=””
image in HTML. In earlier times, the web
height=””>
pages only contains textual content,
Tags Description Syntax
which made them appear quite boring
and uninteresting.
The input tag is used within < form>
input element to declare input controls that <input type = “value” …. />
allow users to input data.
This tag is generally used to display a
italic technical term, phrase, the important <i> Contents</i>
word in a different language.
The label tag in HTML is used to
label provide a usability improvement for <label> form content… </label>
mouse users.
The list tag in HTML is used to
define the list item in an HTML
list document. It is used within an <li> List Items </li>
Ordered List <ol> or Unordered List
<ul>.
The marquee tag in HTML is used to
create scrolling text or images on a
marquee <marquee>Contents</marquee>
webpage. It scrolls either horizontally
or vertically.
The menuitem tag is used to define a
command or menu that the user can <menuitem label=”” icon=”” type>
menuitem
utilize from the popup item. Not </menuitem>
supported in HTML5.
The option tag in HTML is used to
choose an option from a Drop-Down <option> Contents… </option>
option
menu.
The <p> tag in HTML defines a
paragraphs paragraph. These have both opening <p> Content </p>
and closing tags.
The param tag in HTML is used to
param define a parameter for plug-ins which <param name=”” value=””>
is associated with <object> element.
The script tag in HTML is used to
script <script> Script Contents… </script>
define the client-side script.
Section tag defines the section of
section documents such as chapters, headers, <section> Section Contents </section>
footers, or any other sections.
The source tag in HTML is used to
source attach multimedia files like audio, <source src=”” type=””> </source>
video, and pictures.
Tags Description Syntax
The HTML span element is a generic
span inline container for inline elements <span class=””>Some Text</span>
and content.
HTML strike tag, along with
understanding its implementation
strike through the example. The <strike> <strike> Contents </strike>
tag defines a strike or line through
Text.
The style tag in HTML helps us to
style <tagname style=”property:value;”>
design the web page.
HTML Table, various ways to
implement it, & will also understand
its usage through the examples.
table <table>… </table>
HTML Table is an arrangement of
data in rows and columns, or possibly
in a more complex structure.
The table data tag is used to define a
td <td>……..</td>
standard cell in an HTML table.
The table header tag in HTML is
used to set the header cell of a table.
th <th> Contents… </th>
Two types of cells in the HTML table
Header & Standard.
The title tag in HTML is used to
title define the title of HTML document. <title> Title name </title>
It sets the title in the browser toolbar.
The table row tag is used to define a
row in an HTML table. The <tr>
tr <tr>…..</tr>
element contains multiple <th> or
<td> elements.
The underline tag in HTML stands
for underline, and it’s used to
underline <u> Contents… </u>
underline the text enclosed within the
<u> tag.
It is a phrase tag used to specify the
var variable in a mathematical equation <var> Contents… </var>
or in a computer program.
HTML5 Video, along with knowing
video the different ways to add the videos <video src=”” controls> </video>
to the HTML page.