Home | Add to Favorites | Ebooks Directory | News  
HTML Resources
Home
HTML  Article
HTML  Tutorial 
HTML Guide
Books
HTML Code
HTML Editor
HTML Horizontal rule Tutorial

Example 7

Drawing a horizontal rule

 

A horizontal rule or a horizontal line can be drawn by using the <HR> tag. Its attributes like WIDTH (length of the line), HEIGHT (of the line drawn) can be specified within the tag.

Fore More Example Program visit Article section



 
<HTML>
<HEAD>
<TITLE>
HELLO WORLD SAMPLE HTML CODE
</TITLE>
</HEAD>
<BODY>
THE HORIZONTAL RULE
<HR WIDTH="500" HEIGHT="10">
</BODY>
</HTML>