-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss1.html
More file actions
29 lines (25 loc) · 857 Bytes
/
css1.html
File metadata and controls
29 lines (25 loc) · 857 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
<!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>CSS Tutorial</title>
<link rel="stylesheet" href="css1.css">
<style>
p{
color:blueviolet;
background-color: aqua;
}
</style>
</head>
<body>
<h3>CSS Tutorial</h3>
<!-- inline css -->
<!-- <p style="color: red; background-color:aqua;">This tutorial will teach you all about CSS inline,internal and external</p> -->
<p>This tutorial will teach you all about CSS inline,internal and external</p>
</body>
</html>
precedence-> inline css>internal css
<br>
precedence-> for external and internal css which one is in last will be more prioritized