Thundershocked Thundershocked - 6 months ago 8
HTML Question

My HTML and CSS files won't link

My HTML and CSS files will not link up. Both files are in the same folder.

HTML (Home.HTML)





<head>

<link rel="stylesheet" type= "text/css" href="/Webpage/Stylesheet.css" />
<title>Webpage</title>

</head>

<body>

</body>

</html>


Stylesheet (Stylesheet.css)

body{
backround-color: #7894D6;
}

Answer

If the files are in the same folder, then the href should just be:

href="Stylesheet.css"