CSS is not working with HTML. Help, please

Hi there!

I’m a beginner and this is my first time trying to develop a website.
I’ve tried everything, but CSS doesn’t work.

Could somebody help me, please?

Here is my root:
My website folder

  • index.html
    CSS folder inside my website folder
  • style.css

I’ve tried all options on href and nothing works.

Please, see my code below:

Capture 2

Thanks in advance.

it should be like this

<link rel="stylesheet" href="css/style.css" />

and for body styling in style.css–> make sure the images folder should be inside the css folder to make it work.

if images folder is in website folder then use this -->


You are my HERO!!! It worked. Thank you so much :heart_eyes:

1 Like

Happy Coding mate. Sharing is caring… :slight_smile:


1 Like