Html cannot link to css
P粉111641966
P粉111641966 2023-08-16 16:55:57
0
1
548
<p>When I started learning CSS, I noticed that whenever I tried to run the code, it no longer showed up. </p> <pre class="brush:html;toolbar:false;"><link rel="stylesheet" href="./css/style.css"/> </pre> <p>My CSS and HTML files are also in the same folder. </p> <p>I haven't had this problem before, so I'm confused as to why it's happening now. I'm using Visual Studio Code. </p>
P粉111641966
P粉111641966

reply all(1)
P粉834840856

You just missed a " in front of stylesheet! :)

Correct code:

<link rel="stylesheet" href="./css/style.css"/>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!