JavaScript Reference/Javascript Properties/face
"face" Example
<source lang="javascript">
<html>
<body>
Sample Text
<button onclick="myElement.face="courier";">Courier Font</button>
<button onclick="myElement.face="arial";">Arial Font</button>
</body>
</html>
</source>
"face" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<basefont> | +----------------+--------------------------------------------------------------+
</source>
"face" Syntax and Note
<source lang="javascript">
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
</source>