JavaScript Reference/Javascript Properties/face
"face" Example
<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>
"face" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<basefont> <font> |
+----------------+--------------------------------------------------------------+
"face" Syntax and Note
Note:
Read and write property.
Specifies a comma-delimited list of the font-family names used to
render the element"s content.
Syntax:
document.getElementById("elementID").face = value
document.all.elementID.face = value // IE only