Added color to website

This commit is contained in:
Arcron ArchLinux 2024-10-28 21:21:33 +05:30
parent e3b2438a78
commit fbec4854e3
5 changed files with 13 additions and 4 deletions

View File

@ -3,6 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>External</title> <title>External</title>
<link rel="stylesheet" href="./style.css">
</head> </head>
<body> <body>
<h1>Style Me in Green</h1> <h1>Style Me in Green</h1>

View File

@ -9,9 +9,9 @@
<body> <body>
<h1>Three Methods of Adding CSS</h1> <h1>Three Methods of Adding CSS</h1>
<!-- Create 3 Links to The 3 Webpages: inline, internal and external --> <!-- 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="./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="./internal.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="./external.html">External CSS</a>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
</head> </head>
<body> <body>
<h1>Style Me in Blue!</h1> <h1 style="color:blue">Style Me in Blue!</h1>
</body> </body>
</html> </html>

View File

@ -4,6 +4,11 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Internal</title> <title>Internal</title>
<style>
h1 {
color: red
}
</style>
</head> </head>
<body> <body>

View File

@ -0,0 +1,3 @@
h1{
color:green
}