Sublime Forum

Html & css

#1

Hey guys! I started learning html, I’m working with sublime text 3 (unregistered) my html code is correct I checked it on validator but I can.t connect css to html when I open it it.s just what i wrote in html and even pics are not shown, however, paths seem to be correct, can anybody help?

0 Likes

#2

This isn’t a forum for basic HTML and CSS questions. There are many forums online for answering questions like yours, try one of them.

0 Likes

#3

Hi Jubo,

Of course you can ask a question like this!
Some people think they are from the “ForumPolice”! :policeman: :wink:

A handy trick in Sublime to be sure you have the proper links is:
Right click on for example the CSS file or image and select “Copy Path” then past the link in the code like this:
<link href="css/example-style.css" rel="stylesheet">
Say you have your CSS or images in a folder and that folder is also in a folder you add this to the link:
<link href="../css/example-style.css" rel="stylesheet">

The more folders with your particular file you want to link are nested in a other folder the more: ../../../ you add to the link.

Regards,

David

1 Like