'css file not found in link(html)
404 error that the css file not found
Searched YouTube and can't find a solution.
<!DOCTYPE html>
<html>
<head>
<title>itays website </title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="buttons">
<button type="button" , class="home">Home</button>
<button type="button" , class="contact">Contact</button>
<button type="button" , class="services">Services</button>
<button type="button" , class="about">About</button>
</div>
</body>
</html>
Solution 1:[1]
Check that where did you creat your css file is it any folder
Check the file name properly
Solution 2:[2]
Make sure that the css file and html file are in same folder
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Lucifer |
| Solution 2 | Ninad Kulkarni |
