Exercise: Form


Type the following text on Notepad, and fill in the blanks:


<!DOCTYPE html>
<html>
<head>
<title>Form</title>
<head/>
<body>
<h2 style="text-align:center">Form Controls</h2>
<form name="control">
<h3>Text</h3>
Name:<input type="________" size="50" value=""/>

<h3>Radio Buttons</h3>
Group A:<input type="_________" name="group" value="A"/>
Group B:<input type="_________" name="group" value="________"/>

<h3>Checkbox</h3>
<input type="_________" name="subject" value="English"/>English
<input type="_________" name="________" value="Chemistry"/>Chemistry
<input type="_________" name="subject" value="Maths"/>Maths<br><br>

<input type="__________" value="Submit"/>
<input type="reset" value="Reset"/><br><br>

</form>
</body>
</html>











Website Displays

Form Controls

Name:

Radio Buttons

Group A: Group B:

Checkbox

English French Chemistry Maths