write HTML code for the following output :
cricket
a.India
1. Ms Dhoni
2.Virat Kohli
b. Sri Lanka
1.lastith Malinga
2. Kumar Sangakkara
Tennis
1.Sania Mirza
2.Rohan Bopanna
Shooting
1.Manu Bhaker
2.Saurabh Chaudhary
Answers
Answered by
17
Answer:
<HTML >
<HEAD >
<TITLE >
</TITLE >
</HEAD >
<BODY bgcolor ="white" textcolor ="black">
<P> Cricket </BR>
a.India </BR>
1. Ms Dhoni</BR>
2.Virat Kohli</BR>
b. Sri Lanka</BR>
1.lastith Malinga</BR>
2. Kumar Sangakkar</BR></P>
<P>Tennis</BR>
1.Sania Mirza</BR>
2.Rohan Bopanna</BR></P>
<P>Shooting</BR>
1.Manu Bhaker</BR>
2.Saurabh Chaudhary</BR></P>
</BODY >
</HTML >
Explanation:
- Html code is always started and ended by <HTML > tag.
- The contents contained inside the <HEAD > tag don't appear on the page.
- <P> tag is used to write a paragraph separately.
- </BR> tag is used to change line.
- There is no opening tag for </ BR> tag.
Similar questions
English,
5 months ago
Economy,
5 months ago
Physics,
5 months ago
Environmental Sciences,
11 months ago
Chemistry,
1 year ago