lundi 3 décembre 2018

.htaaccess. file paths for css

I am new to website building. I have a index.html hosted on a public domain and cant figure out how to link my style sheets properly so they are implimented on a webpage.

I have this for the index.html:

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="/css/master.css">
    <title>Home</title>
  </head>
  <body>
    <header>
      <h1>Oops, nothing's here!</h1>
      <p>It looks like I'm still developing my website. Check back later and there might be something here.</p>
    </header>
  </body>
</html>

However the style sheet dows not work on the website when its live. the file path is as follows:

/~ 
     index.html
     .htaaccess
     /css<br>
          master.css

How do I fix this?




Aucun commentaire:

Enregistrer un commentaire