无法在html中获取图像 [英] not getting image in html
本文介绍了无法在html中获取图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
未通过使用img src在浏览器上获取图像...
not getting image on browser by using img src...
推荐答案
hi,
图像源中的源路径中不会给出任何特殊字符.
img src ="mypicture.jpg" alt =笑脸" height ="50" width ="50"
如果图像文件是另一个文件夹
img src ="D:/myfolder/mypicture.jpg" alt ="myimage" height ="50" width ="50"
hi ,
in image source won''t give any special characters in source path .
img src="mypicture.jpg" alt="Smiley face" height="50" width="50"
if image file is another folder
img src="D:/myfolder/mypicture.jpg" alt="myimage" height="50" width="50"
要做1件事,就是将图像保留在文件夹中您的页面并仅在路径中提供图像名称.
do 1 thing you just keep that image in folder with your page and give image name only in path..
这篇关于无法在html中获取图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文