2. Write HTML code to design multiple choice question paper for PHP subject. Display question wise marks and total marks received by the student in table format.
Assignment: Set B Q.2 Solution
Write HTML code to design multiple choice question paper for PHP subject. Display question wise marks and total marks received by the student in table format.
HTMl Form
<html><body><h2>
Multiple Choice Question paper (20marks) 5 marks each
<br>
Subject: Maths
</h2><formaction="php.php"method="post"><inputtype="text"name="sn"placeholder="Enter Your Name"><br><br>
Q.1:What is 7x5
<br><inputtype="radio"name="q1"value="40"> 40 <br><inputtype="radio"name="q1"value="35"> 35 <br><inputtype="radio"name="q1"value="20"> 20 <br><br>
Q.2:What is 5+10
<br><inputtype="radio"name="q2"value="15"> 15<br><inputtype="radio"name="q2"value="12">12<br><inputtype="radio"name="q2"value="11">11<br><br>
Q.3:What is 10x0
<br><inputtype="radio"name="q3"value="10">10<br><inputtype="radio"name="q3"value="0">0<br><inputtype="radio"name="q3"value="1">1<br><br>
Q.4:What is 50x2
<br><inputtype="radio"name="q4"value="50">50<br><inputtype="radio"name="q4"value="2">2<br><inputtype="radio"name="q4"value="100">100<br><br><br><br><inputtype="submit"><inputtype="reset"></form></body></html>
0 Comments