Why is my CSS not linking? (Resolved)


I’m trying to link my CSS file to my HTML index file but none of my CSS is showing up when I load the page in a browser. Both files are in the same folder. What am I doing wrong? Here’s my code:



Because your <link> tag is inside <style> tags. Text inside <style> tags gets interpreted as CSS, and <link> is not a valid CSS instruction. If you remove the <style> tags, it works.


Thank you very much!


No problem.