Which of the following are attributes of Font Tag?a)Faceb)Sizec)Colour...
Attributes of Font Tag
The Font Tag is an HTML tag that is used for setting the font size, font color, and font face of the text on a web page. It has several attributes that can be used to customize the appearance of the text. The attributes of the Font Tag are as follows:
Face Attribute
The Face attribute is used to specify the font family for the text. It takes the name of the font family as its value. For example, if we want to set the font family to Arial, we can use the following code:
This text is in Arial font.
Size Attribute
The Size attribute is used to specify the font size for the text. It takes a numeric value as its value. The size value ranges from 1 to 7, where 1 is the smallest size and 7 is the largest size. For example, if we want to set the font size to 5, we can use the following code:
This text is in font size 5.
Color Attribute
The Color attribute is used to specify the font color for the text. It takes a color value as its value. The color value can be specified using different methods, such as color names, hexadecimal values, or RGB values. For example, if we want to set the font color to red, we can use the following code:
This text is in red color.
All of Above
All of the above attributes are used together to create a custom font for the text. By using the Face, Size, and Color attributes together, we can create a unique font that suits our web page. For example, if we want to set the font family to Arial, font size to 5, and font color to red, we can use the following code:
This text is in Arial font, font size 5, and red color.
Conclusion
In conclusion, the Font Tag has three attributes, namely Face, Size, and Color, that can be used to customize the appearance of the text on a web page. By using these attributes together, we can create a unique font that suits our web page.
Which of the following are attributes of Font Tag?a)Faceb)Sizec)Colour...
All of above