1<body>
2 <h1 style="color:red;font-size:40px;">Heading</h1>
3 <p style="color:blue;font-size:18px;">This is demo text</p>
4 </body>
1<!-- relative font size -->
2<font size="+2">This is bigger text.</font>
3<font size="-1">This is smaller text.</font>
4
5<!-- absolute font size -->
6<font size="1">This is really tiny text.</font>