The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.
This article is Not Ready.
Sets or retrieves the current typeface family.
This example sets the typeface family using the FACE attribute and the face property.
<FONT FACE="Arial" ID=oFont> : <SCRIPT> alert(oFont.face + "\n" + "When you click this, the font will change"); oFont.face = 'Courier'; alert(oFont.face + "\n" + "The font has changed."); </SCRIPT>
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 15.2.2 (Deprecated)
Related pages (MSDN)
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]