Hello! I seem to be having trouble with some code. I can’t get CSS to connect with it (CSS won’t work with code). Any ideas?
This is HTML
<DOCTYPE html>
<html>
<title> My Website </title>
<head>
<body>
<p> nyan nyan nyan </p>
</body>
</head>
</html>
This is CSS (not much)
p {
color: green
}
Thank you in advance.
You didn’t add link to link it…
eg:
<link rel="stylesheet" href="style.css" type="text/css">
for the above example you will need to save your stylesheet as style.css
and have the style.css
file and your HTML file in the same directory/folder
1 Like
Thanks! Huge help. I now can continue my website 
1 Like
system
closed
#4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.