Hi,
I’m hoping someone can help me please, I’m new to web developing and I’m trying to insert an image into a HTML document but all I keep getting is a blank shape of the image with a red X in the corner and the alt name. The code I’m using is:
<html>
<head>
<title>kh</title>
<link rel=“stylesheet” type=“text/css” href=“kh.css” />
</head>
<body>
<img src=“http:// images/banner.gif” width=“157” height=“70” alt=“KH logo” />
</body>
</html>
I’m using notepad++ as my text editor and WAMP server 2.2 on Win7. The image file is located within the WAMP www directory, as are my notepad PHP and CSS files.
And the strange thing is if I use the below PHP code instead within the body it pulls it up straight away.
<?php
print (“<IMG SRC =images/banner.GIF>”);
?>
If anyone could help I’d really appreciate it?
Cheers
J