-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex3.html
More file actions
46 lines (43 loc) · 1.7 KB
/
Copy pathindex3.html
File metadata and controls
46 lines (43 loc) · 1.7 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
<!DOCTYPE html>
<html>
<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 = "icon" type = "image/webp" href = "Images/PikachiuImage.webp">
<title>William's Intro To CSS!</title>
<link rel = "stylesheet" href="CSS style files/style(index3).css">
<style>
body{
background-color: aquamarine;
}
h1{
color: aqua;
}
#p1{
color: aqua;
}
</style>
</head>
<body>
<!--Beginning of CSS Tutorial!-->
<!--Inline, internal, external-->
<!--inline style sheet is within the function (look at index 2)-->
<!--internal is using the <style> command and curly brackets-->
<!--external is most popular, need to make a new file-->
<h1>This Is My CSS Practice Website</h1>
<p id="p1">This paragraph is changed using internal style sheet</p>
<h2>I am changing the colour of this header using a external style sheet!</h2>
<p id="p2">This paragraph is changed using external style sheet</p>
<br>
<p id="p3" class="odd">This paragraph is classed as odd</p>
<p id="p4" class="even">This paragraph is classed as even</p>
<p id="p5" class="odd">This paragraph is again classed as odd. I am changing colors using classes</p>
<br>
<!--applying CSS colours to website-->
<p id="P1a"></p>
<p id="P1b"></p>
<p id="P1c"></p>
<p id="P1d"></p>
</body>
</html>