Font face : Font « Style Layout « JavaScript DHTML
- JavaScript DHTML
- Style Layout
- Font
Font face
<html>
<body>
<font id="myElement">Sample Text</font><br>
<button onclick="myElement.face='courier';">Courier Font</button>
<button onclick="myElement.face='arial';">Arial Font</button>
</body>
</html>
Related examples in the same category