Mega Code Archive

 
Categories / JavaScript DHTML / Style Layout
 

Font size

<html> <body> <font id="myFont" size="2">This is a Font size 2</font> <button onclick="myFont.size = 4;">Make the Size 4</button> </body> </html>