b. Write HTML code for the following output:
(1) Cricket
a. India
1. MS Dhoni
2. Sachin Tendulkar
b. Australia
1. Michael Clarke
2. Shane Watson
(ii) Tennis
a. Maria Sharapova
b. Roger Federer
(iii) Shooting
a. Gagan Narang
b. Abhinay Bindra
Answers
Answer:
<form action="//www.html.am/html-codes/forms/html-form-tag-action.cfm" target="result" method="get">
<p> <h6> 1) Cricket </h6></p>
<i>India</i>
<input type="radio" name="msd" value="MS Dhoni"> MS Dhoni
<input type="radio" name="sw" value="sw1"> Sachin Tendulkar
<p> <h6> Cricket </h6></p>
<i>Austrolia</i>
<input type="radio" name="MC" value="MC1">Michele clarke
<input type="radio" name="sw1" value="sw"> Shane Watson
<p> <h6> 2) Tennis</h6></p>
<input type="radio" name="msd" value="MSi"> Maria Sharapova
<input type="radio" name="sw" value="sw1"> Roger Federer
p> <h6> 2) Shooting</h6></p>
<input type="radio" name="gn1" value="gag"> Gagan narang
<input type="radio" name="sw" value="sw1"> Abhinav bindra
<p><input type="submit"
value="Submit"></p>
</form>
<h3>Result:</h3>
<iframe name="result" style="height:100px;width:200px;"></iframe>
Explanation:
1.open notepad windows 8 pc
2.open textedit
3write some html
4.save the html page
5.view the html page in your browser