-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (39 loc) · 1.14 KB
/
index.html
File metadata and controls
48 lines (39 loc) · 1.14 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
<!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">
<link rel="stylesheet" href="css/style.css"> <!-- href="image/" -->
<!-- External CSS -->
<link rel="stylesheet" href="css/style.css" />
<title>GitHub Class</title>
<!-- Internal CSS or Embedded CSS -->
<style>
/* This is a CSS comment */
p {
font-size: 150px;
}
#paragraph {
text-decoration: underline;
}
.general-p {
border: 10px solid black;
}
.paragraph-1 {
color: Blue;
}
.paragraph-2 {
color: red;
}
</style>
</head>
<body>
<!-- This is a comment, do not display this on the browser -->
<!-- Internal CSS -->
<p id='paragraph'class='paragraph-1 general-p'>Hellow world!</p>
<p id='paragraph'class='paragraph-2 general-p'>This is my second paragraph!</p>
<!-- Inline CSS -->
<p class="paragraph-3" style='color: green; border: 10px solid green'>I'm an inline CSS style</p>
</body>
</html>