Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67411

My css file is not being found by the browser despite giving the absolute path in the html file

$
0
0

CSS code

.headi {
font-size: 4em;
}

HTML code

<!DOCTYPE html>
<html>
<head>
  <title>Organicking</title>
  <link href="‪‪C:\Users\01Var\Desktop\organicking\fanandcool.css" rel="stylesheet" type="text/css"  />
</head>
<body>
  <a href="C:\Users\01Var\Desktop\organicking\organicking.html">
    <img src="C:\Users\01Var\Downloads\realistic-tomato-isolated\6146.jpg" 
style="width:100px;height:100px;" border = "2" align = "left" />
</a>

<h1 class="headi">Organicking</h1>

</body>
</html>

ERROR message

%E2%80%AA%E2%80%AAC:/Users/01Var/Desktop/organicking/fanandcool.css:1 Failed to load resource: net::ERR_FILE_NOT_FOUND

On opening the file in browser "Your file was not found" is what i see, and the location of the file showing in the browser URL field is

file:///C:/Users/01Var/Desktop/%E2%80%AA%E2%80%AAC:/Users/01Var/Desktop/organicking/fanandcool.css

Viewing all articles
Browse latest Browse all 67411

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>