<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>