HTML and CSS Reference
In-Depth Information
Add color to your text with the color property.
You can change your text color with the color property. To do that, it
helps to know a little about web colors, and we'll take you through all the
ins and outs of color, including the mysterious color “hex codes.”
Aqua
Black
Blue
Fuchsia
Gray
Green
Lime
Maroon
Navy
Olive
Purple
Red
body {
color: silver;
Silver
Teal
White
Yellow
}
Affect the weight of your fonts with the font-weight property.
Why settle for boring, average fonts when you can give them some extra
weight when needed? Or are your fonts looking too heavy? Slim them down
to a normal weight. All this is easily done with the font-weight property.
lighter
normal
bold
body {
font-weight: bold;
bolder
}
Add even more style to your text with the text-decoration property.
Using the text-decoration property, you can decorate your text with
decorations including overlines, underlines, and line-throughs.
none
underline
overline
line-through
body {
text-decoration: underline;
}
 
Search WWH ::




Custom Search