hi,im going crazy im introduced to the basics of xhtml and when
i tried to insert an image it dosent appear in the browser
i have checked the code 100 times nothing seems wrong
thie is the simple code

<?xml version="1.0" enconding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //en"
"http://www.w3.org/tr/xhtml 1.0transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">


  <title>world peace</title>

<img border="0" src="/images/2173453.jpg" alt="koria girl" width="304" height="228" />



thank you in advance...

6 Years
Discussion Span
Last Post by fpsasm

try changing line 15 to thia

<!--<img border="0" src="/images/2173453.jpg" alt="koria girl" width="304" height="228" />-->
<img border="0" src="images/2173453.jpg" alt="koria girl" width="304" height="228" />

Edited by kekkaishi: n/a


If you typed the command


it will look at "/" which is root, and look for a folder images in root, and then look for a image 2173453.jpg.

I'm assuming, and so is kekkaishi, that you mean "./" The " ./ " denotes "in this directory". So


will open up a folder "images" in the same directory as the .html file is in, and look for the image 2173453.jpg.

Hope that explanation helps.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.