TGR Posted September 30, 2009 Report Share Posted September 30, 2009 Hi folks,I have designed a few websites using software, I now want to take the next step. I set myself the task of learning HTML and this site was recommended. All was going well until I got to images. I can't get the image to change from the one in the tutorial to one I have defined. I have used several different examples: 1 from my pictures, 1 from clip art from the net, 1 from W3 website, etc but when I click edit it just comes up with the box with a red x in it. I have tried both .gif and .jpeg files.Your advice would be much appreciated.TGR Link to comment Share on other sites More sharing options...
dsonesuk Posted September 30, 2009 Report Share Posted September 30, 2009 (edited) make sure the image for example 'myimage.jpg' is in same location as web page,which will then use a image src ref of.<img src="myimage.jpg" width="200" height="150" alt="myalt" title="mytitle" />if you want the image from within a folder (for example 'media') in the the same location as the web page the src would be.<img src="media/myimage.jpg" width="200" height="150" alt="myalt" title="mytitle" /> Edited September 30, 2009 by dsonesuk Link to comment Share on other sites More sharing options...
TGR Posted September 30, 2009 Author Report Share Posted September 30, 2009 make sure the image for example 'myimage.jpg' is in same location as web page,which will then use a image src ref of.<img src="myimage.jpg" width="200" height="150" alt="myalt" title="mytitle" />if you want the image from within a folder (for example 'media') in the the same location as the web page the src would be.<img src="media/myimage.jpg" width="200" height="150" alt="myalt" title="mytitle" />Thank you dsonesuk, I will try that.TGR Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now