-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (42 loc) · 1.48 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- <form action="#">
<div>
<P>Login</P>
</div>
<div>
<label for="Email">Email</label>
<input type="text" placeholder="">
<label for="Password">Password</label>
<input type="text" placeholder="">
</div>
<div>
<button>
Login
</button>
</div>
</form> -->
<form action="http://abc" method="post">
<!-- in action attributes we will defiend where will be transfered data of the form -->
<!-- method attributes will tell to the form which action will be perform -->
<!-- get method will use to get data from the server -->
<!-- post method will use to send data to the server -->
<input type="text" name="username" />
<!-- input element is use to get information from the user -->
<!-- type attributes is to defiend which type of data you want to get from the user -->
<label for="">
age:
<input type="text" name="" id="">
</label>
<label for="userage"> age: </label>
<input type="text" name="" id="userage">
</form>
</body>
</html>