External css is not working, please help?

I have two files, both in the same folder.

  1. home.html - linkforthesame

  2. styles.css - linkforthesame

The external css is not working, please help.

you have to add “./” to your css filename. So it knows that they are in the same folder.
so in your HTML file change this line ->

<link rel="stylesheet" href="./styles.css" type="text/css" />
1 Like

hi ,
Try this order

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

And without / at the end