English

What is the difference between <BASEFONT> and <FONT> tags?

Advertisements
Advertisements

Question

What is the difference between <BASEFONT> and <FONT> tags?

Distinguish Between
Advertisements

Solution

  <BASEFONT> Tag <FONT> Tag
1. It is used to define the basic font size for the HTML page. It is used to define the size, style, and color of a short segment of text.
2. Once set, it applies to all following text for which no other font size is specified. Its effect applies only to the text placed between <FONT> and </FONT>.
3. It sets the default font size for the page. After </FONT>, the text returns to the default font size set by <BASEFONT>.
shaalaa.com
  Is there an error in this question or solution?
Chapter 3: HTML- I: Basic HTML Elements - Assisted Practice [Page 124]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 3 HTML- I: Basic HTML Elements
Assisted Practice | Q 4. | Page 124
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×