HTML Image Help please!!!

dwarfdude77

In Runtime
Messages
270
Location
USA
What am I doing wrong?
Code:
<html>
	<head>
		<title> Home | The Swagging Blog </title>
	</head>
	
	<body>
		<div class="header">
			<img src=“title.jpg” alt=“The Swagging Blog:Home”>
		</div>
	</body>




</html>
 
Erm...mind explaining? Or providing a screenshot?

What's not working with it? Is the image not showing up? Make sure that you're pointing to the correct directory. The way you have it setup now, "title.jpg" has to be in the same directory as your HTML file.
 
Nevermind. The image wasn't showing up, it was just the little error icon, but when I changed the quotes around "title.jpg" to single quotes 'title.jpg' it worked. I thought that it didn't matter what quotes you used?
 
Nevermind. The image wasn't showing up, it was just the little error icon, but when I changed the quotes around "title.jpg" to single quotes 'title.jpg' it worked. I thought that it didn't matter what quotes you used?

Double quotes should still work.
 
Back
Top Bottom