How_To_Style_Your_Text_With_CSS
How_To_Style_Your_Text_With_CSS
Word Count:
231
Summary:
There used to be the font tags. Today, things have changed. Find out how CSS can
help you style your fonts at ease.
Keywords:
CSS, Cascading Stylesheets, Stylesheets, Create CSS layout, CSS help, stylesheet,
style sheets
Article Body:
Styling text with CSS is really simple. We can define colors, underline it, make it
bold, define the font etc etc.
Now our text will turn red. You can define any color code your want or choose one
of the 16 standard color names. The color names are: aqua, black, blue, fuchsia,
gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white and
yellow.
You can define any font-size you want, 145 pixels is not a problem. That is,
technically speaking.
Bold:
p {
font-weight:bold;
}
Italic
p {
font-style:italic;
}
On default, the text doesn�t have any lines at all. Except for the link. You can
remove the underline by using the text-decoration:none; setting.
You see, it�s quite easy to style your text using CSS. And you can do it all in a
separate stylesheet!