NameSilo

Img tag gone

NamecheapNamecheap
Watch
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
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
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
•••
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
•••
is it possible to see the whole code?
 
0
•••
Edit:
Was just something wrong with my computer, cause it worked at my office pc


:hehe:
 
Last edited:
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy โ€” Payment Flexibility
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back