hr tag in html

he <hr> element is used to separate content (or define a change) in an HTML page.


<!DOCTYPE html>
<html>
<body>
<h1>HTML</h1>
<p>HTML is a language for describing web pages.</p>

<hr>

<h1>CSS</h1>
<p>CSS defines how to display HTML elements.</p>

</body>
</html>

Output:

HTML

HTML is a language for describing web pages.

CSS

CSS defines how to display HTML elements.

Comments

Popular posts from this blog

Introduction and Format of HTML

Headings In HTML

dfn tag in html