Glyph
CSS is used to control the character of glyphs is font-family. You can use it to determine the glyphs of the text in any one element.
Like what
P.V {Font-family:verdana}
h2.a {font-family:arial}
This H2 ' s font is the Times New Roman
This paragraph is using "Verdana" font
Sometimes, you give the font browser does not have, you can give more than a few such as
P {font-family:verdana, forte, "Times New Roman"}
The above definition can make the browser use Verdana first, if not, use forte ...
Remember to separate each glyph with a comma.
Size
The character used to control the size of the font is font-size.
P.F12 {font-size:12pt}
p.f18 {font-size:18pt}
This paragraph ' s font is 12pt
This paragraph ' s font is 18pt
You can slowly adjust the size of the font until you are satisfied. Generally speaking, the word
There is no limit to the size of the body, but less than 500 is safe.
Italic body
If you want to make fonts italic, use Font-style properties, such as
P {Font-style:italic}
This paragraph ' s font is italic
Increase
Use Font-weight to adjust the thickness of the text, such as
P.bold {Font-weight:bold}
This paragraph ' s font is normal
This paragraph ' s font is bold
The possible values for Font-style are lighter, normal, bold, bolder