How to fix HTML not linking to CSS file in Visual Studio Code
The solution I found to this problem is changin your “href” tag to this format.
<link rel="stylesheet" href="../css/style.css" />
Always provide your css path to the html file by adding ".." to the path
href = "../folderName/filename.css"
About The Author