-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiv.html
More file actions
67 lines (60 loc) · 1005 Bytes
/
div.html
File metadata and controls
67 lines (60 loc) · 1005 Bytes
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
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> div tag tutorual </title>
<style type="text/css">
body{
background-image:url(file/4.jpg);
}
div
{
background-image:url(file/6.jpg);
width:400px;
height:520px;
text-align:center;
border:4px solid red;
}
img{
width:300px;
height:300px;
border:3px solid red;
}
h1
{
color:blue;
}
form
{
background-color:red;
height:75px
width:400px;
color:white;
}
input
{
background-color:silver;
border:2px solid skyblue;
}
</style>
</head>
<body>
<!-- div tag can use in more then tags and
attribute and create a web page like inpute
tag,form,image,paragraph etc.
The <div> element is a block-level
element that is often used as a container for other HTML elements.-->
<div>
<h1> this heading can use div tag </h1>
<img id="i3" alt="pic2"
src="file/1.png" />
<form>
frist name
<input type="text" name="fname"/><br/>
last name
<input type="text" name="lname"/><br/>
<input type="submit" value="submit"/>
</form>
</div>
</body>
</html>