Home > Blockchain >  For some reason my CSS just doesn't apply to my html what am i doing wrong?
For some reason my CSS just doesn't apply to my html what am i doing wrong?

Time:12-13

ok, disclaimer: I am learning web dev right now and am at a very beginner level so please say something that won't just go over my head... THE PROBLEM: I made a small and basic html file and tried using css on it but for some reason it just won't apply to my html and I've no idea what I'm doing wrong...

Here's my html: [enter image description here][1] [1]: https://i.stack.imgur.com/JztBH.png

Here's my css: [enter image description here][2] [2]: https://i.stack.imgur.com/NexBy.png

I have them both in the exact same file and I have no clue what I'm doing wrong so please explain my mistake....

CodePudding user response:

try it

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

CodePudding user response:

You have syntax errors, use this for including css:

<link rel="stylesheet" href="style.css">
  • Related