1<input type="radio" id="male" name="gender" value="male">
2<label for="male">Male</label><br>
3<input type="radio" id="female" name="gender" value="female">
4<label for="female">Female</label><br>
5<input type="radio" id="other" name="gender" value="other">
6<label for="other">Other</label>
1<form>
2 <p>Please select your preferred contact method:</p>
3 <div>
4 <input type="radio" id="contactChoice1"
5 name="contact" value="email">
6 <label for="contactChoice1">Email</label>
7
8 <input type="radio" id="contactChoice2"
9 name="contact" value="phone">
10 <label for="contactChoice2">Phone</label>
11
12 <input type="radio" id="contactChoice3"
13 name="contact" value="mail">
14 <label for="contactChoice3">Mail</label>
15 </div>
16 <div>
17 <button type="submit">Submit</button>
18 </div>
19</form>