Horizontal lines in HTML.
Horizontal lines are used to separate different areas of a web page. The tag for a horizontal line is /font>hr>. This tag has no closing tag. You may also add certain attributes to the /font>hr>
tag. WIDTH=n is used to specify width number of pixels. WIDTH=n% is
used to specify a certain percentage of the screen wide. NOSHADE is
used to turn the line shading off. /font>hr> tag with no attributes will make the line the full width of the screen.
Example:
/font>hr width = 50>
/font>hr width = 50%>
/font>hr size = 7>
/font>hr noshade>
You may also use several attributes within one tag… For example:
/font>hr width = 50% size = 10 noshade>
Practice:
/font>html>
/font>head>/font>title>My Title/font>/title>/font>/head>
/font>body>
/font>h1>Page Body/font>/h1>
/font>hr>
/font>h3>My Heading No. 3/font>/h3>
/font>/body>
/font>/html>
Note: Apply the above practice in notepad and internet explorer and see the result.