17-HTML Background

0
232

This tutorial is all about HTML Background.
HTML background  attribute is used to specify a background image for a document. Usually, when we think of an HTML background,it only have two options: either a background image or a solid background color. Both the background image and color follow the size they are contained in.

 

Example:

<html>
<body>
<table height=”225″ width=”300″ background=”http://itsourcecode.com/wp-content/uploads/2015/10/logo-300×293.png” cellspacing=”0″ cellpadding=”0″>
<tr>
<td>This is my background image.
</td>
</tr>
</table>
</body>
</html>

 

 

Result:

bgimage

 

 

Readers might read also:

Facebook Comments
(Visited 21 times, 1 visits today)

LEAVE A REPLY

Please enter your comment!
Please enter your name here