top of page
HTML5.png

HTML

LINE BREAK TAG

  • This tag is used for line breaking purpose.

  • By using this tag we can break a line and create a new line.

  • This is a singular tag.

  • This tag is represented as <br> tag.

  • Example:-                          

<html>

<head>

<title> LINE BREAK TAG EXAMPLE </title>

</head>

<body>

NAME:- SUNIL KUMAR SAHU <br>

FATHER’S NAME:- CHAITANYA CHARAN SAHU <br>

MOTHER’S NAME:- SHANTI LATA SAHU <br>

</body>

</html>

​

OUTPUT:

brhr.JPG

SECTION SEPARATOR TAG

  • This tag is used to separate two different sections by creating a horizontal line between them.

  • This is a singular tag or unpaired tag.

  • This tag is represented by <hr> tag.

  • Example:-                          

<html>

<head>

<title> SECTION SEPARATOR TAG EXAMPLE </title>

</head>

<body>

NAME:- SUNIL KUMAR SAHU <hr>

FATHER’S NAME:- CHAITANYA CHARAN SAHU <hr>

MOTHER’S NAME:- SHANTI LATA SAHU

</body>

</html>

​

OUTPUT:

hrtag.JPG

Related Topics

bottom of page