Skip to content

Web Technology Program 2

2. Create a simple HTML page to demonstrate the use of different tags.

<html>
<head>
<title>Different Tags</title>
<body>
<p>This text is normal.</p>
<p><b>This text is bold.</b></p>	
<p><strong>This text is important!</strong></p>
<p><i>This text is italic.</i></p>

<p><em>This text is emphasized.</em></p>
<p><small>This is some smaller text.</small></p>
  <p>My Name Is <mark>Sagar</mark> </p>

  <p>My favorite color is <del>blue</del> red.</p>
  <p>My favorite color is <del>blue</del> <ins>red</ins>.</p>
  <p>This is <sub>subscripted</sub> text.</p>

  <p>This is <sup>superscripted</sup> text.</p>
</body>
</html>

Output