Monday, 8 September 2014

set Background page color

you can add color to the background of the page using the BGCOLOR attribute in the<body>tag.

<BODY BGCOLOR ="red">some text </body>

add horizontal rule
you can add a solid line,or horizontal rule ,across your page to separate blocks of information.
you can define the thickness and lenth of a horizontal line using the size and width attributes.

within the  <HR> tag, type  size="?",replacing? with the thickness you want to assign,measured in  pixels
within the <hr> tags type width ="?%",replacing ? with the percentage.of the page you want the rule to extend across. you can also type a numeric value to set the width of the rule in pixels.

Example
 ** 
 <HR color = "orange">

No comments:

Post a Comment