Retiredidiot 13:08 26 Nov 2007

I am trying to teach myself HTML in order to create a website. All was going well until I reached the point, in the tutorial, on putting an image onto the web page. I have an image (Golf.jpeg) in a folder (New) on my desktop this is what I typed onto my Note Pad


An image from another folder:
img src="/New/Golf.jpeg"
width="33" height="32">

I get a box with another small box inside with a red cross. The text is- An image from another folder: Which is right, but why doesn't the picture appear?

  brundle 13:49 26 Nov 2007

Are you sure it's .jpeg and not .jpg, or if you have file extensions switched off it could even be Golf.jpeg.jpg - click here

  recap 13:49 26 Nov 2007

The line to insert an image should read something like:

<img src=”imagename.jpg”>

  cycoze 13:54 26 Nov 2007

<title>Your Title Here</title>
an image from another page: <img src="../Desktop/New/Golf.jpg" width="33" height="32"/>

Will give you what you want when saved under "any file>HTML"

  Retiredidiot 14:15 26 Nov 2007

Copied and pasted your text,cycoze, and exactly the same.
It was a jpg and not jpeg, thanks Brundle.
I thought it may be my pc but tried it on the laptop and exactly the same.

  Kemistri 14:20 26 Nov 2007

If you want to learn how to build websites, you won't get anywhere with just HTML: you will need to know how to use CSS as well. With only HTML knowledge, you're reading a book with half the pages missing.

click here if you prefer to learn from books.

click here, click here, click here, or click here if you prefer your reading material to be online. (Just a tiny example selection; lots more out there).

  Retiredidiot 15:07 26 Nov 2007

Yes I am aware that I have got a long way to go but I am working my way through this tutorial:

click here

and am stuck on importing images, so I am trying to resolve this before moving on.

  DieSse 17:56 26 Nov 2007

I trust you realise you can construct websites, very quickly and efficiently, without knowing HTML, or indeed any other doding satructures.

You can use a "drag-and-drop" package, which makes the whole thing as simple as falling off a log (almost) - and allows you to get started right away, and put you effort into how the site looks and feels to operate.

Learning HTML and CSS and PHP and Flash and whatever else comes around, may be fine and dandy if you want to become a pro at developing web sites. But to my mind it's a bit like starting with biology and farming when all you want is to cook a few decent meals.

Good website construction packages for the beginner

Web-Easy Pro click here - which I use and often recommend

Net Objects Fusion - click here - more expensive, and requires more effort, but highly regarded.

With Web-Easy Pro you can have a web site up and running from scratch (a simplish one) inside a day. Example here click here

  Kemistri 18:17 26 Nov 2007

It's hardly difficult or time consuming to teach yourself. HTML and CSS can be picked up in one to two weeks if you use the right resources and when you next develop a website, the benefits will be obvious. Even people who use web dev apps still know how to code and you do not need to be a pro to benefit from the knowledge.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Intel Coffee Lake release date and specifications

12 Amazing British Craft Beer Label Designs

watchOS 4 review

Les meilleurs navigateurs internet 2017