Specifies the default font for the document.
Platform Support
IE | Netscape | Mozilla | Opera | Safari | 2.0+ | 1.0+ | no | no | 1.0+ |
---|
Example
This example defines the base font in this document to be 12pt, Arial, red:
<basefont size="12pt" face="Arial" color="red" />
Remarks
Not supported in Mozilla or Opera. Use a CSS rule to define a base font, if possible. Remember to self-close your <basefont / > tags.
Attribute Detail
Attribute | IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|---|
Name of the color or RGB code for the color for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Name of the font. You can specify more than one font face. | 2.0+ | 1.1+ | 1.0+ | 4.0+ | 1.0+ |
Unique identifier for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Size of the element. | 2.0+ | 1.1+ | 1.0+ | 4.0+ | 1.0+ |
Event Detail
Event | IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|---|
Fires when Print or Print Preview finishes laying out the content in a LayoutRect with the source data. | 4.0+ | no | no | no | no |
Fires when the mouse pointer enters the element. | 4.0+ | no | no | no | no |
Fires when the mouse pointer leaves the element. | 4.0+ | no | no | no | no |
Fires when the ready state of the element changes. | 4.0+ | no | no | no | no |