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.

testing out the list<br />

106 Chapter 3<br />

Taking a test drive through the cities<br />

Make sure you’ve added all the <strong>HTML</strong> for the list, reload your<br />

“journal.html” file and you should see something like this:<br />

There’s a linebreak before the list starts,<br />

so must be a block element.<br />

Notice that the browser takes care of<br />

automatically numbering each list item<br />

(so you don’t have to).<br />

Here’s the new and<br />

improved list of cities.<br />

But there’s also a linebreak after each item,<br />

so must be a block element too!<br />

Sharpen your pencil<br />

It turns out Tony actually<br />

visited Arizona after New<br />

Mexico. Can you rework<br />

the list so the numbering<br />

is correct?

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

Saved successfully!

Ooh no, something went wrong!