मराठी

Explain the following tag with a suitable example: <Font>

Advertisements

प्रश्न

Explain the following tag with a suitable example:

<Font>

स्पष्ट करा
Advertisements

उत्तर

It is used to format the appearance of text by changing its size, typeface (face), and colour. Specifies the text size (absolute values 1 to 7 or relative values like +2). Changes the font style (e.g., Arial, Verdana). Sets the color of the text (e.g., “red” or a hex code). It is a container tag, requiring both an opening <FONT> and a closing </FONT>.

Example:

<FONT SIZE=“5” COLOR=“blue” FACE=“Arial”>This is a formatted sentence.</FONT>

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Official Board Paper

APPEARS IN

Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×