-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (50 loc) · 1.24 KB
/
Copy pathindex.html
File metadata and controls
71 lines (50 loc) · 1.24 KB
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
<h1 style="color: red;background-color:black">Heading</h1> <!--inline CSS-->
<h1 style="color:black;background-color:red">Apple</h1>
<h1 style="color:black;background-color:yellow">Mango</h1>
<style>
h1{
color:blue
}
p{
color:red
}
</style>
<h1>heading</h1> <!--Internal css-->
<p>paragraph</p>
// Exercise
<style>
div{
background-color: red;
height:100px;
width: 300px;
}
</style>
<div>
<h1 style="color:white;">Error Makes Clever</h1>
<p style="color:blue">youtube channel</p>
</div>
<link rel="stylesheet" href="style.css">
<h1>Heading</h1>
<h1>How are you</h1>
<h1 class="one">Heading</h1> <!--class selector-->
<h1 class="two">Paragraph</h1>
<h1 id="one">Heading</h1> <!--id selector-->
<h1 id="two">Paragraph</h1>
<style>
h1{
background-color:black;
color:yellow;
padding:30px;
text-align:center;
}
div{
background-color:grey;
color:black;
}
</style>
<h1>Error Makes Clever</h1>
<div>
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ipsam corporis optio explicabo culpa aliquam dolores mollitia neque beatae, et eos?
</p>
</div>