-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforms.html
54 lines (33 loc) · 982 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>forms</title>
</head>
<body>
<!--form tag-->
<!--input is not a tag, it only allows yu to write something inside-->
<!--break is used to push elements to make them align-->
<!--placeholder only holds the place temporarily-->
<!--input field also acts as a field-->
<!--the word value is an attribute-->
<!--=; used to assign values-->
<!--== : equivalent-->
<form action="">
<label>
<input type="text" placeholder="enter your name" required>
</label> <br><br><br>
<label>
<input type="number" placeholder="phone" required>
</label> <br><br><br>
<label>
<input type="email" placeholder="email" required>
</label> <br><br><br>
<label>
<input type="password" placeholder="password" required>
</label> <br><br><br>
<input type="submit" value="sign up" ><br><br><br>
<button> submit </button>
</form>
</body>
</html>