How do I get my css style sheet to connect with my index.html using Sublime Text?

No worries, we’ve all been there, done that. 🙂 First of all the line that connects your index.html to your css file should look something like this and should go in between the

tags.

 

     "stylesheet" type="text/css" href="styling.css">

 

Now, as a general rule, you should put the css file into a separate folder called css or styles just like I did in the above code sample, but leave the index.html in the root folder of your project. Hope this helps.

Advertisements

2 thoughts on “How do I get my css style sheet to connect with my index.html using Sublime Text?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s