horizontal line of html code

horizontal line  and learn:-

Uses of  <hr> tag.

⇨ uses for creating a horizontal line. This is also called horizontal Rule in html.

⇨ this tag defined a thematic break in an HTML page (e.g. a shift of topic)

used to separate the content (or defined a change) in an HTML page.

⇨ used to separate the content (or define a change) in an HTML page.

⇨ this tag do not have end tag, but we can use it like <hr /> (optional). 

# code of horizontal line # 

<!doctype html>

<html>

<head>

<title>

horizontal line 

</title>

</head>

<body>

first name of html code <hr>

second name of html code <hr>

third name of html code <hr>

fourth name of html code <hr>

</body>

</html>

output of horizontal code the defined

 

⧭ first name of the html code 

 ➖➖➖➖➖➖➖➖➖

⧭ second name of html code 

➖➖➖➖➖➖➖➖➖

.

.

.

.

etc..


Comments