English

Write about any two attributes of font tag.

Advertisements

Questions

Write about any two attributes of font tag.

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

Write any two attributes used with the <FONT> tag.

Very Long Answer
Advertisements

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]
Advertisements
Share
Notifications



      Forgot password?
Use app×