Linking CSS File on a HTML Document In Same Directory On my Hard Disk (Windows)

后端 未结 3 1076
一个人的身影
一个人的身影 2021-02-05 15:38

I am using Windows (7) trying to create an offline html page that should link to a separate CSS file located in same directory. I tried to use

         


        
3条回答
  •  一整个雨季
    2021-02-05 16:04

    Use instead. Note: href="/styles.css" changed to href="./styles.css", which is current directory of your script.

提交回复
热议问题