Font size : Font « Style Layout « JavaScript DHTML
- JavaScript DHTML
- Style Layout
- Font
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>
Related examples in the same category