HTML program for illustrating text formatting tags available in HTML

Practical : 2
Subject : Web Technology
Aim : Create a web page illustrating text formatting tags available in HTML. (i.e. <h1>, <b>, <u>, <i>).


Code:

<html>
<head>
<title>Formatting tags</title>
</head>
<body>
<h1>Heading 1 Text</h1>
<h2>Heading 2 Text</h2>
<h3>Heading 3 Text</h3>
<h4>Heading 4 Text</h4>
<h5>Heading 5 Text</h5>
<h6>Heading 6 Text</h6>
<p>This is a pragraph.</p>
<b>Bold Text</b><br>
<strong>Strong Text</strong><br>
<i>Italic Text</i><br>
<em>Emphasized text</em><br>
<mark>Marked text</mark><br>
<small>Small text</small><br>
<del>Deleted text</del><br>
<ins>Inserted text</ins><br>
<sub>Subscript text</sub><br>
<sup>Superscript text</sup><br>
<u>Underlined Text</u><br>

</body>
</html>

Output:

Previous
Next Post »

1 comments:

Write comments

Ads