<basefont> tag in HTML

The <basefont> tag is not support in HTML5. The <basefont> tag specifies the default font size and color of the text in the HTML document.

Important Description

  • The <basefont> tag is not supported in HTML5. Use CSS instead.
  • The <basefont> element is found within the <head> tag.
  • The <basefont> tag must not contain any content, and does not need a closing tag.

Example of <basefont> tag

<basefont> Tag Browser Support

The <basefont> is not supported by modern browsers and font styling should be controlled with CSS.

Element Chrome Edge Firefox Safari Opera
<basefont> No No No No No

Attributes

The "color", "face", and "size" attribute are not supported in HTML5:

Attribute Value Description
color color Specifies the default color for text in a document
face font-family Specifies the default font for text in a document
size number Specifies the default size for text in a document

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

© 2023 GDATAMART.COM (All Rights Reserved)