[英]HTML file did not want to link with css NOT because of wrong placement of file
[英]Trying to add css link to file but it fails because there is a space in the path
C:\\ Users \\ abc xyz \\ Downloads \\鏈接到樣式表\\ css
編輯器以abc顯示綠色后的路徑,但該路徑不起作用。
用%20替換空格。
C:\Users\abc%20xyz\Downloads\link-to-a-stylesheet\css
嘗試用引號引起來:
'C:\Users\abc xyz\Downloads\link-to-a-stylesheet\css'
首先(由於問題有點含糊),將abc xyz更改為abc_xyz。 空格永遠都不適合基於Web的鏈接。
希望已經有所幫助!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.