This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.



The basefont element (<basefont>) allows specifying a default color and font-size for text on the entire page.

The basefont element was deprecated in HTML4 and should no longer be used.

Overview Table

DOM Interface

To specify the overall font for your page add the basefont element at the beginning of the body section. The basefont element is only supported by Internet Explorer.

Related specifications

W3C Recommendation