Having a good background in HTML makes the audience easier to read.
Background (backgrounds)
<body> a label with two configuration backgrounds. The background can be a color or an image.
Background color (Bgcolor)
The background color property sets the background to a color. The property value can be a hexadecimal number, an RGB value, or a color name
<body bgcolor= "#000000" >
<body bgcolor= "RGB (0,0,0)" >
<body bgcolor= "BLACK" > All three ways to set the background color to black
The third way to set the background color is to support only 16 color names in HTML4.0
They are:Aqua, Black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, yellow.
While using color as the background, we can also use the picture as the background:
Background (Background)
Background property sets the background as an image. The property value is the URL of the image. If the image size is smaller than the browser window, the image is copied throughout the browser window.
background="clouds.gif"
background="http://www.w3school.com.cn/clouds.gif"
>All <span style= "font-family: ' Courier New ', Courier, monospace;" > Tutorials </span><span style= "font-family: ' Courier New ', Courier, monospace;" > Resources from: </span><span style= "font-family: ' Courier New ', Courier, monospace;" >http://www.w3school.com.cn/html</span>
HTML Learning Tutorial 6 background-Colors