The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

<head>
<title>Bubble Under – The diving club for the south-west UK.</title>
<meta http-equiv="Content-Type"
content="text/html; charet=utf-8 />
</head>
<body>
<h1>BubbleUnder***</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="divers-circle.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've
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 diving trips 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
accommodation and travel, and to ensure that everyone gets
a trustworthy dive buddy.</p>
<p2>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.</p2>
<p3>When we’re not diving, we often meet up in a local pub to talk about
our recent adventures (any excuse, eh?).</p3>
<h3>Contact Us</h3>
<p>To find out more, contact Club Secretary Bob Dobalina
on 01793 641207 </p>
</body>
</html>

but when I run this in the broser all that happens is I lose all the text above where the code for inserting the jpeg starts, any ideas what I have done, or not done?

Before

BubbleUnder

Diving club for the south-west UK — let’s make a splash!
Welcome to our super-dooper Scuba site

Glad you could drop in and share some air with us! You've passed your underwater navigation skills and successfully found your way to the start point - or in this case, our home page.
About Us

Bubble Under is a group of diving enthusiasts based in the south-west UK who meet up for diving trips 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 accommodation and travel, and to ensure that everyone gets a trustworthy dive buddy.
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. When we’re not diving, we often meet up in a local pub to talk about our recent adventures (any excuse, eh?).
Contact Us

To find out more, contact Club Secretary Bob Dobalina on 01793 641207

After

Glad you could drop in and share some air with us! You've passed your underwater navigation skills and successfully found your way to the start point - or in this case, our home page.
About Us

Bubble Under is a group of diving enthusiasts based in the south-west UK who meet up for diving trips 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 accommodation and travel, and to ensure that everyone gets a trustworthy dive buddy.
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. When we’re not diving, we often meet up in a local pub to talk about our recent adventures (any excuse, eh?).
Contact Us

Third, please use the code tags when you post code, it makes it so much easier to read:

HTML Code:

<head><title>Bubble Under – The diving club for the south-west UK.</title><meta http-equiv="Content-Type"
content="text/html; charet=utf-8 />
</head>
<body>
<h1>BubbleUnder***</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="divers-circle.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've
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 diving trips 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
accommodation and travel, and to ensure that everyone gets
a trustworthy dive buddy.</p><p2>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.</p2><p3>When we’re not diving, we often meet up in a local pub to talk about
our recent adventures (any excuse, eh?).</p3><h3>Contact Us</h3><p>To find out more, contact Club Secretary Bob Dobalina
on 01793 641207 </p></body></html>

And last but not least: there is a line break after height="162". I don't know if that's the problem, but try and take it away. For the rest, the code seems ok to me.

Thanks for this, I have to say that was a fast response. I have just done as per the above but point to note, I had added some div tags before I read your reply and for some reason after these were added the image was displayed.

I am sure there is a good reason for this but I am going with gremlins for now until I start to know what I am doing,,

The reason is that the quotes mismatch was corrected to a point where normal HTML could be output.

...that made sense in my head at least!!!!

OK, what I mean is:

the doctype is not a 'visible' tag like a div or an image which outputs something to the page. So, you start the doctype but leave the last " off so the browser carries on going until it finds what it thinks is the closing/matching " - which in this case is in the image tag.

So in your code, the browser sees everything in the code box below as the doctype content and MUST NOT be output to screen.