Advertisements
Advertisements
प्रश्न
Write about any two attributes of font tag.
Mention any two attributes of <font> tag along with their purposes.
टीपा लिहा
उत्तर
- 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.
- 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.
- 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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
संबंधित प्रश्न
Twisha has gotten confused with a few tags and their attributes. Help her match the tag with the correct attribute.
1. | <font> | i. | align |
2. | <a> | ii. | face |
3. | <h1> | iii. | colspan |
4. | <td> | iv. | href |