04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

inserting an image<br />

Sharpen your pencil<br />

As you can see, a lot of the <strong>HTML</strong> is already written to<br />

get myPod up and running. All you need to do is add<br />

an element for each photo you want to include.<br />

There’s one photo so far, “seattle.jpg”, so go ahead and<br />

add an element to place that image in the page below.<br />

When you’ve finished, load the page in your browser and<br />

check out the view of Seattle.<br />

<br />

<br />

myPod<br />

<br />

body { background-color: #eaf3da;}<br />

<br />

<br />

<br />

180 Chapter 5<br />

We need an<br />

image, right here.<br />

Welcome to myPod<br />

<br />

Welcome to the place to show off your iPod, wherever you might be.<br />

Wanna join the fun? All you need is any iPod from, the early classic<br />

iPod to the latest iPod Nano, the smallest iPod Shuffle to the largest<br />

iPod Photo, and a digital camera. Just take a snapshot of your iPod in<br />

your favorite location and we’ll be glad to post it on myPod. So, what<br />

are you waiting for?<br />

<br />

Seattle, Washington<br />

<br />

Me and my iPod in Seattle! You can see rain clouds and the<br />

Space Needle. You can’t see the 628 coffee shops.<br />

<br />

<br />

<br />

<br />

<br />

Your element is<br />

going to go right here.<br />

This is where you need to<br />

place the first photo.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!