Javascript Reference
Categories: BASEFONT

javascript BASEFONT face

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


Indicates a hierarchy of font faces to use for the default font of a section headed by a basefont element. 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.

document.getElementById("myBaseFont").face = "Bookman, Times Roman, serif";

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 | cursive | fantasy | monospace.


Browser default.

Powered by Linode.