-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.html
94 lines (83 loc) · 2.97 KB
/
forms.html
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.namebadge {
width: 250px;
height: 150px;
border: 3px solid black;
border-radius: 25px;
margin: 5px;
padding: 10px;
}
.namebadge > h2 {
color: red;
}
.boss {
background-color: goldenrod;
color: white;
}
#unique {
background-color: aqua ;
}
</style>
</head>
<body>
<!-- div*3.namebadge>h2+p -->
<!-- <div class="namebadge boss">
<span><h2>Random name 1</h2></span>
<p>Company Director</p>
</div>
<div class="namebadge" id="unique">
<h2>Name 2</h2>
<p>Accountnt</p>
</div>
<div class="namebadge">
<h2>Name 3</h2>
<p>Marketer</p>
</div> -->
<form method="get">
<fieldset>
<legend>Personal Data</legend>
<label for="user-name">User name</label>
<input list="default-names" type="text" name="user" id="user-name" value="" placeholder="User Name">
<label for="password">Password</label>
<input type="password" name="password" id="password" placeholder="Password">
</fieldset>
<div>
<input checked type="radio" name="prog-lang" id="" value="html"> HTML
<input type="radio" name="prog-lang" id="" value="css"> CSS
<input type="radio" name="prog-lang" id="" value="js"> JS
</div>
<input checked type="checkbox" name="news" id=""> Newsletter <br>
<select name="cars" id="" multiple size="8">
<optgroup label="German Cars">
<option value="bmw">BMW</option>
<option value="rr">RR</option>
</optgroup>
<optgroup label="American Cars">
<option value="bmw">Corvette</option>
<option value="rr">Ford</option>
</optgroup>
<optgroup label="American Cars">
<option value="bmw">Corvette</option>
<option value="rr">Ford</option>
</optgroup>
</select><br>
<textarea style="resize: vertical;" cols="10" rows="10" name="message" id=""></textarea>
<br>
<datalist id="default-names">
<option value="Roman">Roman</option>
<option value="Jack">Jack</option>
<option value="Bob">Bob</option>
</datalist>
<input type="date" name="date" min="2024-07-31" max="2024-08-12" id="">
<br>
<input type="submit" name="" id="" value="ENTER">
<input type="hidden" name="">
</form>
</body>
</html>