Added color to website
This commit is contained in:
parent
e3b2438a78
commit
fbec4854e3
@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>External</title>
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Style Me in Green</h1>
|
||||
|
||||
@ -9,9 +9,9 @@
|
||||
<body>
|
||||
<h1>Three Methods of Adding CSS</h1>
|
||||
<!-- Create 3 Links to The 3 Webpages: inline, internal and external -->
|
||||
<a href="http://127.0.0.1:3000/5.1+Adding+CSS/5.1. Adding CSS/internal.html">Internal CSS</a>
|
||||
<a href="http://127.0.0.1:3000/5.1+Adding+CSS/5.1. Adding CSS/inline.html">Inline CSS</a>
|
||||
<a href="http://127.0.0.1:3000/5.1+Adding+CSS/5.1. Adding CSS/external.html">External CSS</a>
|
||||
<a href="./internal.html">Internal CSS</a>
|
||||
<a href="./internal.html">Inline CSS</a>
|
||||
<a href="./external.html">External CSS</a>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -7,7 +7,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Style Me in Blue!</h1>
|
||||
<h1 style="color:blue">Style Me in Blue!</h1>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -4,6 +4,11 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Internal</title>
|
||||
<style>
|
||||
h1 {
|
||||
color: red
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
h1{
|
||||
color:green
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user