Jump to content

Images


TGR
 Share

Recommended Posts

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

make sure the image for example 'myimage.jpg' is in same location as web page,pageimg.pngwhich 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 mediapage.pngthe src would be.<img src="media/myimage.jpg" width="200" height="150" alt="myalt" title="mytitle" />

Edited by dsonesuk
Link to comment
Share on other sites

make sure the image for example 'myimage.jpg' is in same location as web page,pageimg.pngwhich 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 mediapage.pngthe 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...