-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheck_radio.html
More file actions
43 lines (43 loc) · 1.33 KB
/
check_radio.html
File metadata and controls
43 lines (43 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Check radio buttons in input html</title>
</head>
<body>
<form>
<div>
CHOOSE SUBJECTS
<br>
<input type="checkbox" id="sub" name="subject" value="math">
<label for="sub">Math</label>
<br>
<input type="checkbox" id="sub" name="subject" value="phys">
<label for="sub">Physics</label>
<br>
<input type="checkbox" id="sub" name="subject" value="Biol">
<label for="sub">Biology</label>
<br>
<button>submit</button>
</div>
</form>
<hr>
<form>
<div>
CHOOSE FRUITS
<br>
<input type="radio" id="fruits" name="fruits" value="apple">
<label for="fruits">Apple</label>
<br>
<input type="radio" id="fruits" name="fruits" value="mango">
<label for="fruits">Mango</label>
<br>
<input type="radio" id="fruits" name="fruits" value="banana"
<label for="fruits">Banana</label>
<br>
<input type="submit" value="submit">
</div>
</form>
</body>
</html>