-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtutorial-5.html
42 lines (41 loc) · 1.05 KB
/
tutorial-5.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS SELECTORS</title>
<style>
h2{
color:darkblue;
text-align: center;
}
.item{
border: 2px solid darkgreen;
color: goldenrod;
}
div p{
border: 2px solid red;
color: blue;
font-size: medium;
font-style: italic;
}
footer{
background-color: bisque;
}
</style>
</head>
<body>
<h2>CSS SELECTORS</h2>
<p style="border: 2px solid black; color: crimson;">This is paragraph to demostrate CSS Selectors</p>
<p class="item">This is another paragraph to demonstrate CSS Selectors</p>
<div>
<p>
This is paragraph inside div. This Tutorial is also about developer tools.
</p>
</div>
<footer>
This is footer
</footer>
</body>
</html>