face
< html | attributes
face
This page has been flagged with the following issues:
High-level issues:
Summary
Sets or retrieves the current typeface family.
| Applies to | ? |
|---|
Examples
View live exampleThis 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>
Syntax
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 15.2.2 (Deprecated)
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
See also
Related pages (MSDN)
baseFontfontfontFamily
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here