165k views
3 votes
How do I connect my CSS file and HTML page together? it's just not wanting to work for me.

1 Answer

1 vote
In the <head> part of your HTML, you reference the CSS like this:

<link rel="stylesheet" type="text/css" href="thecss.css">

If it is still not working, there could be many kinds of mistakes. Take it one step at a time and start simple, or share your HTML and CSS so we can have a look.
User Sevastyan Savanyuk
by
8.7k points