dot slash vs nothing. What is the difference and what's better to use?
问题 Just for curiosity. What is the better method to use and what is the difference between them ? <link rel=stylesheet href="./css/css.css"> vs <link rel=stylesheet href="css/css.css"> 回答1: In a relative URI, there is no difference between them. Going without the ./ will save you 2 bytes, so it is marginally better. In a UNIX style shell, leaving the ./ off will search $PATH while including it will search the current directory. Some people might be including the ./ out of habit from working on