For CSS to work with a HTML document you must first link it accordingly:
<link
href="css/mainstyles.css" rel="stylesheet"
type="text/css" />
This example is taken from my tutors notes and was not done by me. The pink text is the .css file path. I always make sure to open the .css file in a web browser before adding anymore, in case there is something wrong with the file.
No comments:
Post a Comment