हिंदी

Distinguish between <BASEFONT SIZE> tag and <FONT SIZE> tag with the help of example of each?

Advertisements
Advertisements

प्रश्न

Distinguish between <BASEFONT SIZE> tag and <FONT SIZE> tag with the help of example of each?

अंतर स्पष्ट करें
Advertisements

उत्तर

  <BASEFONT> tag <FONT> tag
1. The <BASEFONT> tag sets the default font settings for the text that follows it. The <FONT> tag changes the font settings only for the text enclosed between <FONT> and </FONT>.
2. Its effect continues until another font-setting tag changes it. Its effect ends when the closing </FONT> tag is reached.
3. It is useful for setting a common font size or color for a larger portion of the page. It is useful for applying a different font size, face, or color to a specific section of text.
4. Example: <BASEFONT size="+1" color="cyan"> Example: <FONT size="+3" color="red">Hi there</FONT>
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: HTML- I: Basic HTML Elements - Solved Examination Questions [पृष्ठ १३८]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 3 HTML- I: Basic HTML Elements
Solved Examination Questions | Q 15. | पृष्ठ १३८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×