Computer Science, asked by priyanshukumar300281, 1 year ago

Difference Between font and basefont

Answers

Answered by subas57
79
The <BASEFONT> tag is used to define the basic font size of an HTML page. This font size ia applicable to all the specified in it. The <FONT> tag is used to define the size, style, and color of the text that appears in a specific segment of an HTML page.
Answered by Anonymous
37

What is the difference between 'font tag' and 'basefont tag' in HTML program?

Basefont tag is used to define default font, size and color for the whole text in an html document. On the other hand font tag is used to define font, size, color etc for a text which enclosed with in this tag.

Now basefont is not supported by HTML 5 and you have to use CSS to declare a default font. Font tag is supported by HTML5.

basefont tag is declared at the top in head section of html document. On the other hand you have to enclose the text within the font tag to apply changes.

Similar questions