-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtml_forms_lecture.html
More file actions
49 lines (36 loc) · 1.38 KB
/
html_forms_lecture.html
File metadata and controls
49 lines (36 loc) · 1.38 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
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML Forms Lecture</title>
<!-- <style> textarea {-->
<!-- resize: none;-->
<!-- }-->
<!-- </style>-->
</head>
<body>
<form method="POST" action="https://request-inspector.glitch.me/">
<label for="username">Username</label>
<input id="username" name="username" type="text" placeholder="Enter username" value="">
<br>
<label for="password">Password</label>
<input id="password" name="password" type="password">
<br>
<label for="comment">Comment Here:</label>
<br>
<textarea name="comment" id="comment" cols="30" rows="10" maxlength="50" >Tell me about your day...</textarea>
<br>
<input name="newsletter" id="newsletter" type="checkbox" value="sign me up" checked>
<label for="newsletter">Would you like to learn more?</label>
<br>
<label for="videoGameConsole">What console do you own?</label>
<select name="console" id="videoGameConsole">
<option value="switch">Nintendo Switch</option>
<option value="xbox">Xbox Series X</option>
<option value="playstation" selected>Playstation 5</option>
</select>
<input type="hidden" name="hidden-val" value="kittens">
<button type="submit">Submit</button>
</form>
</body>
</html>