top of page
HTML5.png

HTML

PARAGRAPH TAG

  • This tag is used to display the document in paragraph form.

  • This a paired tag.

  • This tag is represented by <p> tag.

  • Example:-                          

<html>

<head>

<title> PARAGRAPH TAG EXAMPLE </title>

</head>

<body>

<p> THIS IS PARAGRAPH 1 </p>

<p> THIS IS PARAGRAPH 2 </p>

</body>

</html>

​

OUTPUT:

ptag.JPG

BOLD TAG

  • This tag is used to display the text in bold form.

  • This is a paired tag.

  • This tag is represented by <b> tag.

  • Example:-                          

<html>

<head>

<title> BOLD </title>

</head>

<body>

<b> I AM A STUDENT </b>

</body>

</html>

​

OUTPUT:

btag.JPG

ITALIC TAG

  • This tag is used to display the text in italic form.

  • This is a paired tag.

  • This tag is represented by <i> tag.

  • Example:-                          

<html>

<head>

<title> ITALIC </title>

</head>

<body>

<i> I AM A STUDENT </i>

</body>

</html>

​

OUTPUT:

itag.JPG

UNDERLINE TAG

  • This tag is used to display the text in underlined form.

  • This is a paired tag.

  • This tag is represented by <u> tag.

  • Example:-                          

<html>

<head>

<title> UNDERLINE </title>

</head>

<body>

<u> I AM A STUDENT </u>

</body>

</html>

​

OUTPUT:

utag.JPG

Related Topics

bottom of page