Connect the styles named thr, which lie in the main folder. The folder is one level higher than the file (to which we connect)

<!DOCTYPE html> <html> <head> <title>codebra</title> </head> <body></body> </html> 

Closed due to the fact that the question is not clear to the participants by pavel , aleksandr barakin , Vladimir Martyanov , αλεχολυτ , sercxjo 22 Sep '16 at 19:55 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • What did you do to resolve this issue? And HTTP is an information transfer protocol , in particular, presented in HTML form. And since this is the protocol, then he is not responsible for any styles or anything else. Did you mean HTML. Please do not confuse these concepts. - Mike
  • Yes, I recommend to rename the question in the style of "connecting a css file from another folder" - heff

1 answer 1

<link href="../main/thr.css"> , a colon means that you need to move one level higher, main means that you then need to go to the folder named main and thr.css says that you need to connect your file. I advise you to read about the formation of absolute and relative links: for example here .