Computer Applications
Write suitable html statements to display the following text on a webpage in appropriate subscript and superscript form:
a. CO2
b. X2
HTML Intro
47 Likes
Answer
a. CO<sub>2</sub>
b. X<sup>2</sup>
Answered By
17 Likes
Related Questions
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 Mention any two attributes of <font> tag along with their purposes.
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.
Rajat, a web developer, wants to show a video named "tiger.mp4" in dimensions of 300px width and 200px height on the web page. Help Rajat by writing its html code.