This page is Not Ready

Notice: 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.



Sets or retrieves the current typeface family.

Applies to ?
## Examples

This example sets the typeface family using the FACE attribute and the face property.

<FONT FACE="Arial" ID=oFont>
    alert(oFont.face + "\n" + "When you click this, the font will change");
    oFont.face = 'Courier';
    alert(oFont.face + "\n" + "The font has changed.");

View live example


Standards information

See also

Related pages