-
Notifications
You must be signed in to change notification settings - Fork 0
/
ex14.html
75 lines (72 loc) · 1.92 KB
/
ex14.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Qotations</title>
<style>
*{
padding: 0;
margin: 0;
font-family: Arial;
}
body{
background-color: azure;
}
.container{
display: flex;
text-align: center;
width: 90%;
margin: 20px auto;
outline: 1px solid black;
}
.field{
display: block;
width: 210px;
height: 250px;
margin-right: 40px;
margin-left: 40px;
margin-bottom: 40px;
margin-top: 40px;
background-color: rgb(2, 117, 117);
}
img{
width: 200px;
height: 200px;
border: 2px solid #ccc;
margin-bottom: 20px;
}
p{
margin-left: 10px;
align-self: center;
}
h1{
font-weight: bolder;
font-style: italic;
align-items: center;
margin-top: 10px;
}
</style>
</head>
<body>
<h1 align="center">My Favourite Qotations</h1>
<div class="container">
<div class="field">
<img src="main.jpeg" alt="logo1">
<p>Greate things take time.</p>
</div>
<div class="field">
<img src="main.jpeg" alt="logo2">
<p>work hard until its done.</p>
</div>
<div class="field">
<img src="main.jpeg" alt="logo3">
<p>Greate things take time.</p>
</div>
<div class="field">
<img src="main.jpeg" alt="logo4">
<p>work hard until its done.</p>
</div>
</div>
</body>
</html>