Avi*_*Avi 33 html html5 github
我创建了一个用户的github页面.
现在,假设我在repo的根目录下有一个Image文件 Images/Emoticons/Cool.png
我尝试在我的主Index.html文件中插入该图像.
我写 -
- <img src="\images\emoticons\cool.png"> 没有任何显示在线和离线
- <img src="images\emoticons\cool.png">没有任何东西出现在网上,但我可以看到图像离线
- <img src="..\images\emoticons\cool.png">没有任何显示在线和离线
应该做什么?
nul*_*ken 37
由于该站点由Linux服务器提供服务,因此路径区分大小写.
为了使这项工作,更换emoticons与Emoticons所提供的网址.

以下html代码应正确显示图像
<img src="images/Emoticons/cool.png" alt="hi" class="inline"/>
Run Code Online (Sandbox Code Playgroud)