Example
Specify a default font-color and font-size for text on page:Teach Yourself by BH24 HTML Editor Tool!<head>
<basefont color="red" size="5" />
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
The <basefont> tag is only supported in Internet Explorer 9, and earlier versions.
Definition and Usage
The <basefont> tag is not supported in HTML5. Use CSS instead.The <basefont> element is deprecated in HTML 4.01.
The <basefont> tag specifies a default font-color, font-size, or font-family for all the text in a document.