0
Answered
My HTML is not linking to my CSS
My HTML is not linking to my CSS for some reason. I have them in the same folder, and have put <link rel="stylesheet" type="text/css" href="style.css"/> and have named the css file style.css, but when I preview the html the css is not showing up
Customer support service by UserEcho
Thanks,
This is a snap of the html file:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="screen.css" type="text/css" />
<title>CV Page</title>
</head>
<body>
<div id="Header">
<img src="" />
<p>this is the header</p>
</div>
and this is a snap of my css file:
#Header {
color: red;
font-weight: bold;
}
I thought that by setting the file "syntac definition" to "css" it will automatically set the file to be .css
so my file was named screen and when I changed it to screen.css it worked!
Thanks so much Boss