NameSilo

Img tag gone

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

j0n87

New Member
Impact
0
hi

i made a webdesign in photoshop, and sliced it up, and finished it with xhtml,
but when i upload the index.html a picture dissapear.

here's the code:
Code:
<center><a href="screenshots/3xgranade.jpg" target="_blank">
<img src="screenshots/3xgranade.jpg" border="0" width="120" height="90">
</a></center>

but when i go to my domain and look at the website, the picture aint there, and i look at the code by the browser
(both with IE and Opera), the <img> tag is gone:
Code:
<center><a href="screenshots/3xgranade.jpg" target="_blank">
			
</a></center>
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
your code isnt in xhtml format. in xhtml the you have to terminate the <img> tag and also specifiy the "alt" attribute

your xhtml code should look like this

<center><a href="screenshots/3xgranade.jpg" target="_blank">
<img src="screenshots/3xgranade.jpg" alt ="your alt text here" border="0" width="120" height="90" />
</a></center>
 
0
Close
ok, fixed that, but it didnt work, and i validated with Markup Validation Service and there's nothing wrong with the codes now.

Edit:
Now i tried to upload the same site to another webhost, and still same problem. The code is in a table thats in the big table of the whole site.
 
Last edited:
0
Close
is it possible to see the whole code?
 
0
Close
Edit:
Was just something wrong with my computer, cause it worked at my office pc


:hehe:
 
Last edited:
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Spatial Sidebar: More consistent display
We fixed some bugs in the Spatial Sidebar. It now displays more consistently across browsers and should perform better. If you use it...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back