-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRef.html
45 lines (45 loc) · 1.08 KB
/
Ref.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
<html>
<head>
<title>Webpage With Style</title>
<style type="text/css">
.red {
color: red;
}
.large {
font-size: 200%;
}
#green {
color: green;
}
.underlined {
text-decoration: underline;
}
#first-section {
color: #4285F4;
background-color: #CEF6CE;
width: 200px;
float: left;
}
#second-section {
background-color: #8AB4F7;
width: 200px;
float: right;
}
.clear-float {
clear: both;
}
</style>
</head>
<body>
<div id="first-section">
<p>The quick brown fox jumped over the lazy dog.</p>
<p>Wow, I love internal CSS!</p>
</div>
<div id="second-section">
<p id="green">This is some more text. <span class="underlined">And this text is underlined.</span></p>
<h1 class="red">CSS is cool!</h1>
</div>
<div class="clear-float"></div>
<p>This paragraph is not floated!</p>
</body>
</html>