You are on page 1of 1

<form action="#" method="POST">

<div>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
</div>

<div>
<fieldset>
<legend>Gender:</legend>
<label>
<input type="radio" name="gender" value="male" required>Male
</label>
<label>
<input type="radio" name="gender" value="female" required>Female
</label>
<label>
<input type="radio" name="gender" value="other" required>Other
</label>
</fieldset>
</div>

<div>
<label for="country">Country:</label>
<select id="country" name="country" required>
<option value="">--Select a country--</option>
<option value="USA">USA</option>
<option value="Canada">Canada</option>
<option value="Mexico">Mexico</option>
</select>
</div>

<div>
<label>
<input type="checkbox" name="terms" required>I agree to the terms and
conditions
</label>
</div>

<div>
<button type="submit">Submit</button>
</div>
</form>

You might also like