The tag <hr/> is used to build Horizontal Line in html page. The steps of use this tag is
1. Open Notepad.
2. write the codes like below.
<html>
<body>
<p> The hr tag defines a horizontal rule:</p>
<hr/>
<p> This is a paragraph</p>
<hr/>
<img src="banner.jpg" width="220" height="90"/>
</body>
</html>
3. Now save this as test_hrrule.html
4. Open the file in any browser and see the output like image.
1. Open Notepad.
2. write the codes like below.
<html>
<body>
<p> The hr tag defines a horizontal rule:</p>
<hr/>
<p> This is a paragraph</p>
<hr/>
<img src="banner.jpg" width="220" height="90"/>
</body>
</html>
3. Now save this as test_hrrule.html
4. Open the file in any browser and see the output like image.