Tuesday, April 27, 2010

Horizontal Rules In HTML, HR Tag In HTML

The HR (Horizontal Rules) tag is a stand-alone, or empty, documents elements that allows you to add horizontal rules to your Web pages.

Changing the Height of a Horizontal Rule

To change the height of a horizontal rule , the SIZE attribute value in the HR tag can be used. The values you set is the rule’s height, or thickness, in pixels. The following example is used for creating a horizontal rule that 10 pixels thick.

Example:

P> This is a normal rule:

HR>

P> This is a 10-pixel thick horizontal:

HR SIZE=”10”>

0 comments:

 

blogger templates | M