Search This Blog

Monday, 30 December 2013

1.7 HTML Lines

The <hr> tag creates a horizontal line in an HTML page.
The hr element can be used to separate content:
example:

<!DOCTYPE html>
<html>
<body>
<p>The hr tag defines a horizontal rule:</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
</body>
</html>

No comments:

Post a Comment