These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:20 pm Advanced search

Smashing HTML5

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

Smashing HTML5

Postby earthflyer » Sun Jan 30, 2011 9:34 pm

I am currently work through the SMASHING HTML5 book and have come across a problem that book dosn't explain.

I am having problems getting two images on one page, I can get one image but can not get a second, have tried png.gif.fla and nothing at all, all I get is a box where the image is suppose to be but it is blank.

This is my first time dealing HTML code so I am new at it.

Here's the source code, maybe someone can see where I am going wrong,

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sketch to Web</title>
</head>
<body>
<img src="logo.jpg" alt="logo"><br>
<a href="#">Toys</a> &nbsp; | &nbsp;<a href="#">Clothes</a>&nbsp | &nbsp;<a href="#">Sports</a> <br><br>
A good place to buy kids <br>
<br>
<img src"kid.png" alt="kid" align="left"> Kids are serious business.
They need toys that are both safe and educational. Toys need to be fun and allow children's mind to create beyond and functionality
the toy has. There is no reason that they cannot be both safe and fun.
Children need lots of clothes because the grow so fast. And they need sports to offset childhood obesity and
the illnesses associated with obesity. <br>
<br>
<a href="#">Toys</a> &nbsp; | &nbsp;<a href="#">Clothes</a>&nbsp; | &nbsp;<a href="#">Sports</a>
</body>
</html>
earthflyer
<h6>
 
Posts: 3
Joined: Sun Jan 30, 2011 9:23 pm

Postby earthflyer » Sun Jan 30, 2011 10:04 pm

:D Teething problems

Missed out the = sign after src <img src="kid".....

problem solved.
earthflyer
<h6>
 
Posts: 3
Joined: Sun Jan 30, 2011 9:23 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests