|
||||||||||||
Web Services Home |
|
Body AttributesIn the tag section of this tutorial you learned about the body tag. The body tag has many attributes and here are the most commonly used ones:
**Putting together everything we have learned so far, you could produce an HTML document that looks like this: <html>
<head>
<body text="green" bgcolor="#000000"> </html> To view this web page, click here. Notice how the background is black and the text color is green because within the body tag, the text color is specified to green and the background color is specified to black. Also, the final line is purple because the font tag for that sentence specified a different color to be used.
|