# basefont

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
--- | --- | --- | --- | --- | ---
color [color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc. Name of the color or RGB code for the color for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
face [font-name]. Example values: Arial, "Arial, Helvetica, sans-serif", etc. Name of the font. You can specify more than one font face. | 2.0+ | 1.1+ | 1.0+ | 4.0+ | 1.0+
id [element-id] Unique identifier for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+
size Size of the element. | 2.0+ | 1.1+ | 1.0+ | 4.0+ | 1.0+

## Event Detail

Event | IE | Netscape | Mozilla | Opera | Safari
--- | --- | --- | --- | --- | ---
onlayoutcomplete Fires when Print or Print Preview finishes laying out the content in a LayoutRect with the source data. | 4.0+ | no | no | no | no
onmouseenter Fires when the mouse pointer enters the element. | 4.0+ | no | no | no | no
onmouseleave Fires when the mouse pointer leaves the element. | 4.0+ | no | no | no | no
onreadystatechange Fires when the ready state of the element changes. | 4.0+ | no | no | no | no

text_html aptana_docs