Controlling font size with CSS

This is a demo page for the article Controlling Font Size with CSS.

It shows how to control font size using ems, whilst allowing users to resize text if they wish.

Using this method it is simple to maintain control over the size of typography.

h1 set to 2.2em (22pt)

h2 set to 2.0em (20pt)

h3 set to 1.8em (18pt)

h4 set to 1.6em (16pt)

h5 set to 1.4em (14pt)

Paragraph tag set to 1.2em (12pt)