Professional Documents
Culture Documents
Formatting Background (Background Image) (Background Color)
Formatting Background (Background Image) (Background Color)
Formatting Background (Background Image) (Background Color)
B-2
X-ARCHIMEDES
HW#3
Formatting Background
The bgcolor The Background
attribute specifies Attribute specifies a
the background color Definition and Usage background image for
of a document. a document.
ATTRIBUTES
<html> <html>
<body bgcolor="#E6E6FA"> <body background="bgimage.jpg">
<h1>Hello world!</h1> <h1>Hello world!</h1>
<p><a href="https://www.w3schoo <p><a href="https://www.w3schoo
ls.com">Visit ls.com">Visit
W3Schools.com!</a></p> W3Schools.com!</a></p>
</body> </body>
</html> </html>