htmlcss

This deprecated, unimplemented, presentational element is not recommended. Authors should generally find an alternative way to accomplish the same task while adhering to all best practices, or simply do without it if it is unimportant.


The void HTML <basefont /> element has been deprecated since HTML4. It was not supported in all major browsers. Browsers never implemented it in the same way; practically, using it has always brought indeterminate results. This element established a default font size for a document. Font size then can be varied relative to the base font size using the <font></font> element.


Attributes


HTML example:

<basefont color="#CCCCCC" face="Arial Black" size="+5" />

Rendering

The <basefont> element does not have a visual rendering.

Typical CSS representation

basefont {
  display: none;
}