Sun, 2016-11-27 21:31
Sorry for my previous unfinished post. Hit the wrong button. Thank you.
I'm new to CSS and HTML5 coding. I created an eternal style sheet in Windows Notepad and I'm using Notepad++ as my main text editor. The problem that I am having, I wrote an external style sheet in Windows notepad("color.css") and it is saved to my desktop.
color.css written in Windows Notepad
body{background-color:#0000FF; color:#FFFFFF;}
I wrote my main code in Notepad++ and tried to link this code to this webpage, but it didn't work.
<!DOCTYPE html> <html lang="en"> <head> <title>External Styles</title> <meta charset="utf-8"> <link rel="stylesheet" href="color.css"> <style> </style> </head> <body> <p>This web page uses an external style sheet.</p> </body> </html>
Not sure why it's not working. Thanks for any help offered.
Mon, 2016-11-28 09:37
#1
Hi pookster, Are both the
Hi pookster,
Are both the files in the same folder, or desktop in your case?
Also on windows check the case of the file name.