I'm learning a little bit of HTML for a website I'm making. I made an img tag, and it won't show the picture.
<html> <title>Incredifying</title> <img src="/IncredifyingDesktop.jpg" /> </html>
Last edited by echs (2011-07-04 13:01:53)

Offline
Is that image in the directory with the HTML file?
Offline
In think you need a "/" at the start of the name of your image.
Offline
echs wrote:
IHeartGaming wrote:
Is that image in the directory with the HTML file?
No, what does that mean?
It needs to be in the same folder or else you have to use the complete path.
Offline
Put an <a> tag around the <img> tag like this:
<a href="yoururlhere.html"><img src="/IncredifyingDesktop.jpg" /></a>
Offline
echs wrote:
How do you get a small icon in the address bar?
Upload a file called "favicon.ico" into the site's main directory.
Offline