Question:

Need help with images Please

by  |  earlier

0 LIKES UnLike

<html>

<head><center><h1>Candle Images</center></h1>

</head>

<body bgcolor=<E3E4FA>

<bgsound src="http://www.stevenwiseman.com/mp3/ma... loop="-1"/>

<title></title>

<style type="text/css">

/*<![CDATA[*/

div.c1 {text-align: center}

/*]]>*/

</style>

<style type="text/css">

h1 {color: purple}

h3 {color: blue}

</style>

</head>

<body>

<h1><center>Heavenly Scents<center></h1>

<h3><center>By Vada<center></h3>

<div class="c1">

<h1>Heavenly Scent Candle Images</h1>

<p>Take a look at what types of candles we sell on our website.

We have many different types, and styles of candles. Not to

mention the many Heavenly scents we offer.</p>

<p>Go ahead and take a look at a few of the candles that we

offer, and see if there is anything you like.</p>

<a href="images.htm"></a> <a href="images.htm"><img src="aaagif/jpeg"/></a> <a href="images.htm"><img src="candles/jpeg"/></a> <a href="images.htm"><img src="candles html.jpeg"/></a> <a href="images.htm"><img src="e(maddisonavenue.netretrieved may 18, 2008).jpeg"/></a>

<a href="images.htm"><img src="subcat_n_aromatherapy.jpeg"/></a>

<a href="homepage.html/index.html">go to homepage</a></div>

</body>

</html>

My images will not show up can someone help me find the mistake? this is where my folder is

C:\Documents and Settings\vada taborn\Desktop\myimages.zip if you can get this file maybe you can find the mistake better.

 Tags:

   Report

2 ANSWERS


  1. Your coding is out of date, you are not using any document type so browsers will be in Quirks Mode to parse your page(s) which you don&#039;t want as you lose control over your layout.

    Without the XHTML 1.0 Transitional or Strict document type, do not close tags that do not use closing tags like the image tag, &lt;br&gt;, etc.. If you use that doctype, then close those type tags with a space and a &#039;/&#039;:

    &lt;img style=&quot;width: XXpx; height: YYpx; border: 0;&quot; src=&quot;image.jpg&quot; alt=&quot;Text Description&quot; /&gt;

    You have two opening link tags here:

    &lt;a href=&quot;images.htm&quot;&gt;&lt;/a&gt; &lt;a href=&quot;images.htm&quot;&gt;&lt;img src=&quot;aaagif/jpeg&quot;/&gt;&lt;/a&gt;

    The image src has already been pointed out as being wrong. I hope you actually have an image named &quot;candles html.jpeg&quot;, but you need to remove the &quot;html&quot; part for image name and correct src=&quot;&quot; link.

    Totally wrong:

    &lt;img src=&quot;e(maddisonavenue.netretrieved may 18, 2008).jpeg&quot;/&gt;

    Do not use spaces within file/folder or image names unless you add for the space: %20

    You can not write a link like this:

    &lt;a href=&quot;homepage.html/index.html&quot;&gt;go to homepage&lt;/a&gt;

    Lots more coding errors.  No one can ever reach a file on your computer using &quot;C:\Documents and Settings\vada taborn\Desktop\myimages.zip &quot;. &quot;myimages.zip&quot; would have to be hosted online with a download link for it.

    Ron


  2. aaagif/jpeg -&gt; should be -&gt; aaagif.jpg

    candles/jpeg -&gt; should be -&gt; candles.jpeg

    minor errors can cause havok in html :)

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions