Hi

Hello Guys!!!
Im trying to upload the picture into my webpage but it wont work does anyone know y?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
  <head> 
    <title>Bubble Under-The diving club for the south-west UK</title> 
    <meta http-equiv="Content-Type"
        content=text/html; charset=utf-8'/> 
  </head> 
  <body>
    <h1>BubbleUnder.com</h1>
    <p>Diving club for the south-west UK-let's make a splash!</p> 
    <h2>Welcome to our super-dooper Scuba site</h2> 
    <p><img src=C:\\Users\\Munko\\Documents\\Web\\divers-cricle.jpg" width="200" height="162"
        alt="A circle of divers practice their skills"/></P>
    <p>Glad you could drop in and share some air with us! You're 
        passed your underwater navigation skills and succefully 
        found your way to the start point - or in this case, our 
        home page.</p> 
    <h3>About Us</h3> 
    <p>Bubble Under is a group of diving enthusiast based in the southwest 
       UK who meet up for diving trips in the summer months 
       when the weather is good and bacon rolls are flowing. We 
       arrange weekends away as small groups to cut the costs of accom- 
       modation and travel, and to ensure that everyone gets a trust-
       worthy dive buddy.</p> 
    <p>Although we're based in the south-west, we don't stay on our 
       own turf: past diving weekends have included trips up to scapa
       Flow in Scotland and to Malta's numerous wreck sites.</p>
    <p>When we're not diving, we often meet up in a local pub to talk
       about out recent adventures ( any excuses, eh?).</p> 
    <h3>Contact Us</h3>
<p>To find out more, contact Club Secretary Bob Dobakina on <snip> or <a
       href="mailto:email [email]<snip>[/email]</a>.</p> 
 
 
  </body> 
</html>

Please Help me guys thanks in advance!!!

Munko

Hi munko. Welcome to SitePoint. :slight_smile:

Presumably your site is online? In that case, this image link is inappropriate:

src=C:\\Users\\Munko\\Documents\\Web\\divers-cricle.jpg"

Apart from the fact that it’s missing a quote mark at the front, it is directing the browser to a file on your PC. Where is the image stored online? Or, if this is all on your PC, then try adding a quote mark"

src="C:\\Users\\Munko\\Documents\\Web\\divers-cricle.jpg"

And is “cricle” a misspelling?

img src=C:\Users\Munko\Documents\Web\divers-cricle.jpg"

Unless you have found a way to save the image into that folder on everyone in the world’s hard drive, that isn’t going to work :cool:
(BTW, did you mean “cricle”, or “circle”?)

If the image is in the same folder as the page, do this:

img src="divers-circle.jpg"

If it’s in a different folder, let us know what the structure is and we’ll show you how to get the right path.

It’s from Ian Lloyd’s book by the looks of things; your ‘index.html’ will already be within the folder called “Web” therefore [p48] what you should have is as follows:

<img src=“divers-circle.jpg” width=“200” height=“162” alt=“A circle of divers practice their skills” />

So once you have fixed the spelling errors and sorted out the relative path it should work fine. :slight_smile:

Thank you for fast reply guys!!!
i have move the picture to pic doc. but still it wont show the pic!!! any ideas?

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
http://www.w3.org/TR/xhtml1-strict.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<title>Bubble Under-The diving club for south-west
UK</title>
<meta http-equiv=“Content-Type”
content=“text/html; charset=utf-8”/>
</head>
<body>
<h1>BubbleUnder.com</h1>
<p>Diving club for the south-west UK-let’s make a
splash!</p>
<h2>Welcome to our super-dooper Scuba site</h2>
<p><img src="C:\Users\Munko\Pictures\image.jpg width=“200” height=“162”
alt=“A circle of divers practice their skills”/></p>
<p>Glad you could drop in and share some air with us! You’re
passed your underwater navigation skills and successfully
found your way to the start point - or in this case, our
home page</p>
<h3>About Us</h3>
<p>Bubble Under is a group of diving enthusiasts based in the south-
west UK who meet up for good diving tips in the summer months
when the weather is good and the bacon rolls are flowing. We
arrange weekends away as small groups to cut the costs of accom-
modation and travel, and to ensure that everyone gets a trust-
worthy dive buddy.</p>

Yes, and we posted them above! :wink:

This will not work online:

<img src="C:\\Users\\Munko\\Pictures\\image.jpg width="200" height="162"
alt="A circle of divers practice their skills"/>

Firstly, you still have quote problems:

src="C:\\Users\\Munko\\Pictures\\image.jpg

(No closing quote.)

Second, you are trying to link to an image on your computer. If this page is online, you need to have the image stored online. E.g.

src="http://yourwebsite.com/images/image.jpg"

If this is just a test site you are working with locally (i.e. on your computer), then try locating the image in relation to your CSS file. E.g.

/sitefolder/
/sitefolder/page.html
/sitefolder/css/styles.css
/sitefolder/images/image.jpg

With the above setup, the style sheet link would be:

src="../images/image.jpg"

The image file should be in the SAME directory/folder as you ‘index.html’ file. and NOT the picture folder.

The book tells you the ‘index.html’ and that ‘divers-circle.jpg’ image file BOTH belong a folder called “Web” where you have the index.html file.