The background color would be a hex number like #eeeeee or the title of the color like lightslateblue
p{
background: #/name
}
Hahsj
The background color would be a hex number like #eeeeee or the title of the color like lightslateblue p{ background: #/name }
shading
Hahsj
Text
Assuming the text you're trying to add a background color to text within a div: # divname { height: 100; width: 100; } function onchange(divname) { document.getElementById(divname).style.backgroundColor = "blue"; } link Or do you just want a static color behind your text? # bluebg { background-color: blue; }OR look at my text!
Text
<font style="background-color: red;">this text will have a red background</font>
text
For an HTML docuement the default page background color is determined by the browser. The most background color is white. You can define a page background color in different ways. A preferred HTML5 method is to a CSS style to define the color. One way you can do that is like this: .
See how this grabs you: /* Example stylesheet with black background, white text, yellow links and borderless images */ * { padding: 0; margin: 0; } body { background-color: black; font-size: 12pt; font-family: "Times New Roman", serif; font-weight: bold; color: #fff; margin: 0; padding: 0; } a:link { color: #ff0; background-color: transparent; } a:visited { color: #f99; background-color: transparent; text-decoration: none; } a:hover { color: #f00; background-color: white; text-decoration: none; } h1, h2, h3{ text-align: center; font-weight: bold; font-family: Verdana, sans-serif; } img { border-style: none; background-color: transparent; }
White son set