<html>
<head>
<title>Using HTML forms</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<form>
<h2>Forms</h2>
First name: <input type="text" name="fn">   
<br>
Surname:<input type="text" name="sn" size="40">
<br>
Password:<input type="password" name="pw">
<br>
Age:<input type="text" name="age" size="3" maxlength="3">
<br>
Image: <input type="file" name="file">
<br>
Comments:<br>
<textarea rows="10" cols="50">
</textarea>

<br><br>
What is your favourite food?<br>
<input type="radio" name="food" checked="checked">KitKat<br>
<input type="radio" name="food">Curry<br>
<input type="radio" name="food">Pizza<br>
<input type="radio" name="food">Apples<br>
<input type="radio" name="food">Mars bar<br>
<br>
Where would you like to go on holiday? (choose all that apply)<br>

<input type="checkbox" name="sp">Spain<br>
<input type="checkbox" name="sc">Scotland<br>
<input type="checkbox" name="ne">Neath<br>
<input type="checkbox" name="tn">Tenby<br>
<br><br>
Choose your favourite animal from the menu:<br>
<select name="mymenu">
<option>Rabbit</option>
<option>Snake</option>
<option>Penguin</option>
<option>Aardvark</option>
<option>Elephant</option>
<option>Mouse</option>
</select>

<br><br>
<input type="submit" value="Submit">
<input type="reset" value="Clear">
</form>
</body>
</html>




