When I try to view my local desktop file, the CSS background image isn't showing up. Here's the code I'm using:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" text="type/css" href="discovery.css">
<title>Programming Club Official Blog</title>
</head>
<body>
<h1>Programming Club Official Blog</h1>
<p>This blog allows members of our programming club to stay updated on our activities. Feel free to check out the code by pressing Ctrl-U! ~ Nathan Tran</p>
</body>
</html>
Here is my CSS code:
html {
background:url (http://smashingyolo.com/wp-content/uploads/2014/05/Best-Website-Background-Images10.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
I will choose the answer that provides the best solution, so please help me debug this code. Thank you for your assistance!