-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathinternal_css.html
More file actions
41 lines (38 loc) · 919 Bytes
/
internal_css.html
File metadata and controls
41 lines (38 loc) · 919 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Internal CSS</title>
<style>
body {
background-color: gainsboro;
}
h1 {
background-color: blue;
color: white;
}
.font-red {
color: red;
}
#unique {
border: 5px solid black;
}
.bg-blue { background-color: blue; }
.bg-yellow { background-color: yellow; }
</style>
</head>
<body>
<h1>Internal CSS</h1>
<div class="font-red" id="unique">
Div #1
</div>
<div class="font-red" id="">
Div #2
</div>
<div class="font-red bg-blue" id="">
Div #3
</div>
<div class="font-red bg-yellow" id="">
Div #4
</div>
</body>
</html>