Javascript Reference
Categories: FONT

javascript FONT face

@March 15, 2008, 1:22 a.m.
faceFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Provides a hierarchy of font faces to use for the content surrounded by the current font object. The browser looks for the first font face in the comma-delimited list of font face names until it either finds a match in the client system or runs out of choices, at which point the browser default font face is used. Font face names must match the system font face names exactly.

 
Example
 
document.getElementById("myFont").face = "Bookman, Times Roman, serif";
 
Value

One or more font face names in a comma-delimited list within a string. You may use real font names or the recognized generic faces: serif | sans-serif | monospace.

 
Default

Browser default.

Under moderation.
ascendfwfi69 - 2016-05-20
Under moderation.
ascend95hr65 - 2016-05-18

Powered by Linode.