- Notifications
You must be signed in to change notification settings - Fork 27.3k
/
Copy pathforms-test.html
46 lines (42 loc) · 810 Bytes
/
forms-test.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
<!DOCTYPE html>
<htmllang="en-US">
<head>
<metacharset="utf-8">
<metaname="viewport" content="width=device-width">
<title>Forms test</title>
<style>
label {
float: left;
width:30%;
text-align: right;
}
input {
float: right;
width:65%;
}
label,input {
margin-bottom:20px;
}
div {
clear: both;
margin:10px;
}
body {
width:400px;
margin:0 auto;
}
</style>
</head>
<body>
<form>
<div>
<labelfor="date">Enter a date:</label>
<inputid="date" type="date">
</div>
<div>
<labelfor="time">Enter a time:</label>
<inputid="time" type="time">
</div>
</form>
</body>
</html>