forked from rohan1917/FSWDT-JAN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathday-11-cssSelectorsAndBoxModel.html
67 lines (57 loc) · 1.82 KB
/
day-11-cssSelectorsAndBoxModel.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
<!-- CSS Selectors -->
<!--
Css Selectors:
>>> Universal Selector (*)
>>> ID Selector (#)
>>> Class Selector (.)
>>> Element Selector
>>> Selector List
>> Descendant Selector
>> Direct Child Selector
-->
<!Doctype html>
<html>
<head>
<title>Selectors in CSS</title>
<style>
h5{
color: red;
background-color: aqua;
}
</style>
<link href="./day-11-cssSelectorsAndBoxModel.css" rel="stylesheet"/>
</head>
<body>
<!-- <h2 class="h2ClassSelector">Hey this is h2- count-1</h2>
<h2>Hey this is h2- count-2</h2>
<h2 id="h2Count3" class="h2ClassSelector">Hey this is h2- count-3</h2>
<h2 class="h2ClassSelector">Hey this is h2- count-4</h2>
<p>hey its p1</p>
<p class="h2ClassSelector">hey its p2</p>
<h3>Hey its h3</h3> -->
<!-- <ol>
<li><a>link 1</a></li>
<li><a>link 2</a></li>
<li>Plain Text-1</li>
<li>Plain Text-2</li>
</ol>
<a>Out of list anchor tag - link 3</a> -->
<!-- <h4>hey this is my outer h1
<b>hey its within h1 and its bold in nature but not italics
<u>
<i>hey its bold in nature at the same time its italics nature</i>
</u>
</b>
<i>hey its not bold in nature but its italic in nature</i>
</h4> -->
<!-- <h5> -->
<!-- <h5 style="color: aqua; background-color: black;">
Hey its h5 and where we understand inline, internal and external Css Sprcificity
</h5> -->
<!-- Box Model -->
<h6>Hey this element depicts us abyt someything called box model</h6>
</body>
</html>
<!--
inline > external > internal
-->