Tag Name
|
Description
|
Output
|
Headings
|
Used to display heading with different fonts.
<h1>heading 1</h1>
<h2>heading 2</h2>
<h3>heading 3</h3>
<h4>heading 4</h4>
<h5>heading 5</h5>
<h6>heading 6</h6>
|
heading 1
heading 2
heading 3
heading 4
heading 5
heading 6
|
Paragraph
|
Used to display Paragraph.
<p>Type Text</p>
|
Type Text
|
Anchor
|
It is used for page redirection and downloads for a file.
<a href=" http://www.wisdommaterials.com">
links to site abcd
</a>
_blank - Opens the linked document in a new window or tab
_self - Opens the linked document in the same window/tab as it was clicked
(this is default)
|
Links to that site (abcd.com).
tar_parent - Opens the linked document in the parent frame
_top - Opens the linked document in the full body of the window
get="_blank"
|
Image
|
Used Displays Image on webpage.
<img src="a.jpg" alt="Describe image" width="100" height="150"/>
|
Image
|
Button
|
<button>Click me</button>
|
Click Me
|
Lists
It is a collection of items.
Types of Lists
1. Ordered.
2. Unordered.
|
Ordered
<ol type="1" >
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
Type can be
type="1"
type="A"
type="a"
type="I"
type="i"
Unordered
<ul style="list-style-type:square" >
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
|
Ordered Example 1. Coffee 2. Tea 3. Milk
Unordered Example .Coffee . Tea .Milk
Type: disc, bullet, circle, square, none, not be marked
|
Horizontal Rules
|
Give a horizontal line.
|
------------------------
|
Meta
|
<meta charset="UTF-8">
|
Character Encoding
|
New Line
|
<br>
|
Singleton tag
|
Pre
|
<pre>1 2 3 4 </pre>
|
1 2 3 4
|
Quotations
|
<q>Quotations</q>
|
“Quotations”
|
Comment
|
<!-- Write your comments here -->
|
|
Div
|
It is used as a Positioning element.
<div>Positions element</div>
|
Positions element
|
Link
|
<link rel = "stylesheet" type = "text/css" href = "stylefile.css">
|
Used to link files.
|
<address>
|
It defines contact information of document owner of an article and is
displayed in italic.
<address>
Wisdom Materials,<br />
Hyderabad<br />
</address>
|
Wisdom Materials,
Hyderabad
|
<bdo> |
It is display the text from left to right.
<bdo dir="rtl">text is written from right to left</bdo>
|
Tfel ot thgir morf nettirw si txet
|