Write HTML code to generate the following form.
Attachments:
Answers
Answered by
24
<HTML>
<HEAD>
<TITLE>FORM 1 </TITLE> </HEAD>
<BODY>
<FORM>
<P><LABEL for = "NAME">first name</LABEL>
<INPUT ID ="NAME" type ="text"><BR>
<LABEL for ="NAME">LAST NAME </LABEL>
<INPUT ID ="NAME" text ="text"><BR>
<LABEL for ="Gender">MALE</LABEL>
<INPUT ID ="gender" type ="text"><BR>
<INPUT type ="RADIO" name ="AGE" value ="Below 25">below 25<BR><BR>
<INPUT type ="RADIO" value ="above 25">above 25
<INPUT type ="Checkbox" name ="HOBBIES" value ="outdoor games">outdoor games<BR>
<INPUT type ="Checkbox" name="C2" value ="painting">painting<BR>
<INPUT type ="Checkbox" name =" C3" value ="dancing">dancing<BR>
<INPUT type ="Checkbox" name ="C4" value ="music">music<BR>
<INPUT type ="submit" value ="submit">
</P>
</FORM>
</BODY>
</HTML>
<HEAD>
<TITLE>FORM 1 </TITLE> </HEAD>
<BODY>
<FORM>
<P><LABEL for = "NAME">first name</LABEL>
<INPUT ID ="NAME" type ="text"><BR>
<LABEL for ="NAME">LAST NAME </LABEL>
<INPUT ID ="NAME" text ="text"><BR>
<LABEL for ="Gender">MALE</LABEL>
<INPUT ID ="gender" type ="text"><BR>
<INPUT type ="RADIO" name ="AGE" value ="Below 25">below 25<BR><BR>
<INPUT type ="RADIO" value ="above 25">above 25
<INPUT type ="Checkbox" name ="HOBBIES" value ="outdoor games">outdoor games<BR>
<INPUT type ="Checkbox" name="C2" value ="painting">painting<BR>
<INPUT type ="Checkbox" name =" C3" value ="dancing">dancing<BR>
<INPUT type ="Checkbox" name ="C4" value ="music">music<BR>
<INPUT type ="submit" value ="submit">
</P>
</FORM>
</BODY>
</HTML>
Similar questions
Hindi,
7 months ago
English,
1 year ago
Science,
1 year ago
Social Sciences,
1 year ago
Geography,
1 year ago