English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Write about any two attributes of font tag. - Computer Applications

Advertisements
Advertisements

Questions

Write about any two attributes of font tag.

Mention any two attributes of <font> tag along with their purposes.

Short Note

Solution

  1. The face is an attribute to set different font style. The name of font has multiple words it should be specified within a double quote. But the fonts used by the user need to be installed in the system first.
  2. The size attribute is used to set size of the text. The size can have an absolute value from 1 to 7. These predefined sizes are known as virtual size. Each virtual size is successively 20% larger than the previous one.
  3. The color attribute is used to set the color to the text. Color name or color code in hexadecimal may be used.
    Example:
    <font face =”Arial Black” size = 4 color = yellow>
    Font Size 4 in yellow colour </font>
shaalaa.com

Notes

1 Mark each for mentioning any two attributes of <font> tag along with their correct purposes.

Font Tags
  Is there an error in this question or solution?
Chapter 11: HTML - Formatting text, Creating Tables, List and Links - Evaluation [Page 265]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 11 HTML - Formatting text, Creating Tables, List and Links
Evaluation | Q 4. | Page 265
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×