Home  >  Article  >  Web Front-end  >  html无法显示图片是咋回事?_html/css_WEB-ITnose

html无法显示图片是咋回事?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:35:281755browse

要显示D:盘images文件夹下dog.jpg图片是不是这样写:






html无法显示图片是咋回事?_html/css_WEB-ITnose


回复讨论(解决方案)

file:///D:/images/dog.jpg

路径是错误的。。。

路径是错的,不能显示本地的图片

图片路径不对。。。。

我改了还是不能显示图片,dreamweaver老是弹出警告信息:以下翻译器没有被装载,由于错误:ICERegions.htm:有不正确的设置信息。JSP.htm:有不正确的设置信息。Sever Model SSI.htm:有不正确的设置信息。

这已经是很简单的一个html文件了。。。如果你的图片是在你的站点下,你用相对路径试一下。。。。 1楼说的路径是在没有设站点的情况下使用。一般是不用的,因为没法移植。。。如果这么一个简单的html文件都会导致dw 弹出警告的话,要么你的dw有问题,要么你没配置好站点,要么被其他的代码所左右了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn