-
Notifications
You must be signed in to change notification settings - Fork 0
/
index1.html
40 lines (36 loc) · 1.02 KB
/
index1.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
<html>
<head>
<title>Box model</title>
<style>
.box{
height: 100px;
width: 100px;
border: 1px solid red;
}
.bg {
background-color: teal;
}
.container{
display: flex;
}
</style>
</head>
<body>
<div class="container"></div>
<div class="box"></div>
<div class="box"></div>
<!-- div class="bg">I am div</div> -->
<!-- <div>I am div 2</div> -->
<!-- div-block level element- will always start in new line -->
<!-- <h1 class="bg">I am heading 1</h1> -->
<!-- <p class="bg">I am p tag</p> -->
<!-- <b class="bg">I am bold text</b> -->
<!-- <b>I am bold new</b> -->
<!-- <div>I am div new</div> -->
<!-- display:flex -->
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
</div>
</body>
</html>