HTML Font Size
The
H2 {font-size:80pt}
which gives us this Hi there
Relative font sizes allow you to specify font size relative to the surrounding text. For example, this rule sets the font of
EM {font-size:180%}
So this string that uses
That is a <EM>groovy</EM> idea! looks like this: That is a groovy idea! Using relative font sizes when applied to headers has a special problem that is worth understanding. We'll discuss that in the next page. |