HTML WEBPAGES |Quiz in HTML| |FORMS| |Radio Checkbox buttons|

 code:

<!DOCTYPE html>
<html>
<h1 style="background-color:aquamarine;"><center>QUIZME</center></h1>
<fieldset>
<form action="/ans_page.php" method="get">
<legend><h1>General Knowledge</legend></h1><br>
<form>
<h3><p><i>1)Mars is named after which Roman god?</p></i><br>
<input type="radio" name="rad" id="god of war">
<label for="god of war">God of war</label><br>
<input type="radio" name="rad" id="god of love">
<label for="god of love">God of love</label><br>
<input type="radio" name="rad" id="god of fire">
<label for="god of fire">God of fire</label><br>
<h3><p><i>2)What are the main constituents of Mars's atmosphere?</p></i>
<input type="radio" name="rad1" id="Carbon dioxide and nitrogen">
<label for="Carbon dioxide and nitrogen">Carbon dioxide and nitrogen</label><br>
<input type="radio" name="rad1" id="oxygen and carbondioxide">
<label for="oxygen and carbondioxide">Oxygen and carbondioxide</label><br>
<input type="radio" name="rad1" id="Methane and argon">
<label for="Methane and argon">Methane and argon</label><br>
<h3><p><i>3)A student deposits $200 and earns 4% on their initial deposit (principal) every year,Another student puts $100 in an account which earns 8% interest on this initial deposit every year. Which of the two students will have more money in their account after 60 years?</p></i><br>
<input type="radio" name="rad2" id="same amount of money">
<label for="same amount of money">The two students will have the same amount of money after 60 years</label><br>
<input type="radio" name="rad2" id="$200 principal and 4% interest">
<label for="$200 principal and 4% interest">
The student with a $200 principal and 4% interest</label><br>
<input type="radio" name="rad2" id="$100 principal and 8% interest">
<label for="$100 principal and 8% interest">The student with a $100 principal and 8% interest rate</label><br>
<h3><p><i>4)How much interest is earned annually on $200 with 4% interest rate?</p></i><br>
<input type="radio" name="rad3" id="16">
<label for="16">$16</label><br>
<input type="radio" name="rad3" id="12">
<label for="12">$12</label><br>
<input type="radio" name="rad3" id="8">
<label for="8">$8</label><br>
<h3><p><i>5)The system of Dual Government during the latter half of the 18th century AD is associated with the name of?</p></i><br>
<input type="radio" name="rad4" id="clive">
<label for="clive">Clive</label><br>
<input type="radio" name="rad4" id="Waren">
<label for="Waren">Waren</label><br>
<input type="radio" name="rad4" id="William">
<label for="William">William Bentinck</label><br>
<h3><p><i>6)The year 788 AD was a good one for Hinduism. Why?</p></i><br>
<input type="radio" name="rad5" id="Shankracharya">
<label for="Shankracharya">Shankracharya was born that year.</label><br>
<input type="radio"name="rad5" id="Samudragupta">
<label for="Samudragupta">Samudragupta converted to Hinduism.</label><br>
<input type="radio" name="rad5" id="Harsha Vardhana">
<label for="Harsha Vardhana">Harsha Vardhana, the last Buddhist king, died.</label><br>
<h3><p><i>7)What was Meta Platforms Inc formerly known as?</p></i><br>
<input type="radio"name="rad6" id="facebook">
<label for="facebook">Facebook</label><br>
<input type="radio" name="rad6" id="instagram">
<label for="instagram">Instagram</label><br>
<input type="radio"  name="rad6" id="snap">
<label for="snap">Snapchat</label><br>
<h3><p><i>8)Who launched the Cultural Revolution in China?</p></i><br>
<input type="radio" name="rad7" id="mao">
<label for="mao">Mao</label><br>
<input type="radio" name="rad7" id="haitao">
<label for="haitao">Haitao</label><br>
<input type="radio"  name="rad7" id="shuchang">
<label for="shuchang">Shuchang.</label><br>
<h3><p><i>9)Yudh Abhyas’ is a military exercise held between India and which country?</p></i><br>
<input type="radio" name="rad8" id="usa">
<label for="usa">USA</label><br>
<input type="radio" name="rad8" id="japan">
<label for="japan">Japan</label><br>
<input type="radio" name="rad8" id="france">
<label for="france">France</label><br>
<h3><p><i>10)Which country conducted its largest-ever military exercises around Taiwan?</p></i><br>
<input type="radio" name="rad9" id="America">
<label for="America">USA</label><br>
<input type="radio" name="rad9" id="china">
<label for="china">China</label><br>
<input type="radio" name="rad9" id="Israel">
<label for="Israel">Israel</label></h3></p></i><br>
<input type="submit" value="submit">
</form>


Comments

Popular posts from this blog

Use of Backslash "\n" in C language

COHESION AND COUPLING material

Coding and Testing in software engineering