-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinternalcss.html
38 lines (37 loc) · 1.1 KB
/
internalcss.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
<!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">
<title>internal CSS</title>
<style>
p{
color: rebeccapurple;
background-color: rgb(240, 84, 115);
font-size: 20px;
}
ol{
list-style: georgian;
font-family: 'Times New Roman', Times, serif;
}
h1{
font-size: x-large;
text-align: center;
}
</style>
</head>
<body>
<!--This page describes internal CSS-->
<h1>Internal CSS</h1>
<p>These are style sheets used to add format to only a single webpage</p>
<p>We use the style element within the head section of a webpage to insert the internal style sheets</p>
<h1>Advantages of internal CSS</h1>
<ol>
<li>We can style the whole page with a single style</li>
<li>It can target different elements within a webpage</li>
</ol>
<h4> Wanna go back to the index Page?</h4>
<a href="index.html"><p>Click hia</p></a>
</body>
</html>