Computer Applications
Mention any two attributes of <font> tag along with their purposes.
HTML Intro
11 Likes
Answer
Two attributes of <font> tag are as follows:
- Face — It is used to set the font style of the text in the HTML document.
- Size — It is used to adjust the size of the text in the HTML document.
Answered By
4 Likes
Related Questions
Mention any two purposes of using comments while designing a HTML webpage.
Twisha has got confused with a few tags and their attributes. Help her match the tag with correct attribute.
1. <font> i. align 2. <a> ii. face 3. <h1> iii. colspan 4. <td> iv. href Write suitable html statements to display the following text on a webpage in appropriate subscript and superscript form:
a. CO2
b. X2
Ronaldo, a web designer in a start-up company, wants to give headings in a webpage through <h1> tag. Additionally, he wants to implement following styles on all the <h1> tag of the same webpage at one go.
- Color-blue
- Background color-yellow
- border of the heading - 2px in red
He is not able to implement the above-mentioned additional styles of <h1> tag through regular html code. Suggest him a way out and also help him in writing the code for same.