林建设一个网页,并在网页下面的代码:图像的网页无法显示,但链接形象工程
<a href="#"><img alt="chat" href="images/chat.jpg">Chat now</a>
图像“chat.jpg”是在图像文件夹,与index.html位于同一个文件夹中,如果我浏览到“localhost/site/images/chat.jpg”,它会显示,但它不会显示在“localhost/site/index.html”的索引页面中。 我已经尝试将href改为“/site/images/chat.jpg”,同样的事情发生。
非常感谢你 –