登录 | 注册 | FAQ
Anonymous

IMAGE IS NOT SHOWN IN THE BROWSER

+ 发表回复

6 篇帖子 分页: 1 / 1


IMAGE IS NOT SHOWN IN THE BROWSER

GAURAV SHARMA21 » 周六 12月 27, 2014 11:57 am

I PUT THE FOLLOWING COMMANDS BUT WHEN I OPEN THE BROWSER IT DOES NOT SHOW AN IMAGE INSTEAD IT SHOWS A BOX
<img src="marble.jpeg" alt="marble" />
头像

GAURAV SHARMA21

  • 帖子: 2
  • 注册: 周六 12月 27, 2014 11:52 am

Re: IMAGE IS NOT SHOWN IN THE BROWSER

philtraere44 » 周一 12月 29, 2014 10:43 am

Chenge .jpeg to .jpg, just like that: <img src="marble.jpg" alt="marble" />
头像

philtraere44

  • 帖子: 22
  • 注册: 周四 10月 17, 2013 6:41 am

Re: IMAGE IS NOT SHOWN IN THE BROWSER

XainPro » 周二 12月 30, 2014 8:08 am

place image and html file on same folder/location
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm

Re: IMAGE IS NOT SHOWN IN THE BROWSER

surajk09 » 周日 2月 01, 2015 6:11 pm

Hi,
If you saved your HTML file in one folder and placed your image in another folder then it will not work directly. You Have to enter full path of your image in src.
OR
Place your image into your folder where you saved your html file.
goto https://www.youtube.com/watch?v=7I3RrCA8y0Y
goto http://surajhtml.blogspot.in/p/blog-page_19.html
头像

surajk09

  • 帖子: 9
  • 注册: 周日 2月 01, 2015 6:04 pm
--
Suraj
For tech http://www.htmlrun.com

Re: IMAGE IS NOT SHOWN IN THE BROWSER

DSMorales » 周六 1月 16, 2016 4:17 pm

Started HTML a couple days ago. This part with linking an image is not working for me. I get a missing image box even when i right click and select show image. The image is in the same folder as the .htm file that I made and opened using my browser. Here is my code:

<html>
<head>
<p> To me:</p>
</head>

<body style="background-color:#fff000;">
<strong> I love you! </strong> <hr /> <br />
<ol>
<li>ur cool</li>
<li>ur a 10/10</li>
<li>piece of cake</li>
</ol>
<img src="elspeth.jpg" />
</body>



</html>
头像

DSMorales

  • 帖子: 1
  • 注册: 周六 1月 16, 2016 4:09 pm

Re: IMAGE IS NOT SHOWN IN THE BROWSER

huffdogg » 周二 2月 09, 2016 6:52 pm

I am having the same issue attempting to display both images and gifs saved in the same folder as the html document itself. Would love to see the solution.
头像

huffdogg

  • 帖子: 4
  • 注册: 周二 2月 09, 2016 4:30 pm


+ 发表回复

分页: 1 / 1