TUTORIAL HTML : Background











Sample of the pdf document :


HTML background is the HTML attribute used to place pictures in the background of HTML elements. Like the bgcolor attribute, background is now deprecated and its use has been replaced by the use of CSS (see CSS Background). However, this lesson does cover some important aspects of background elements that do apply to both the deprecated HTML background and the new CSS backgrounds as well.

When we think of an HTML background, we generally have only two options: a solid background color or a background image. The backgrounds of both the background color and image grow or shrink dynamically with the growth and shrinkage of the HTML element they are contained in.

HTML Background Image Code:
<table height="100" width="150"
 background="http://freetutorial-4u.blogspot.com/ /pics/htmlT/background.jpg" >
<tr><td>This table has a background image</td></tr>
</table>


                                                   









                                                              Click here for free Download  / PDF
                                                                                   

0 commentaires: