Background and Font Colors
The
bgcolor attribute can be used to change the web page's background color.
This example would produce a dark blue background with a white headline:
<html>
<head>
<title>first page</title>
</head>
<body bgcolor="#000099">
<h1>
<font color="#FFFFFF"> White headline </font>
</h1>
</body>
</html>Try It Yourself
Result:
The color attribute specifies the color of the text inside a <font> element.
Comments
Post a Comment