-
Notifications
You must be signed in to change notification settings - Fork 0
/
form-filling.html
46 lines (46 loc) · 1.26 KB
/
form-filling.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
<html>
<head>
<title>This is fieldset</title>
<style>
body{
padding:0 250px;
background-color: lightblue;
}
fieldset{
border:thick solid red;
background-color:burlywood;
}
legend{
background-color:blue;
text-align:left;
font-size:20px;
}
p{
font-size:25px;
text-align:center;
}
#submit{
padding:10px 15px;
font-size:20px;
}
</style>
</head>
<body>
<h1>Form With fieldsets</h1>
<form>
<fieldset>
<legend>Login Details</legend>
<p>
<label>username:<br>
<input type="text" name="username" id="username"><label for="username"></label></label>
</p>
<p>
<label>password:<br>
<input type="password" name="password" id="password"><label for="password"></label></label>
</p>
<p>
<input type="submit" value="send" id="submit"></p>
</fieldset>
</form>
</body>
</html>