04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

exercise solutions<br />

Exercise<br />

Solutions<br />

Add a title<br />

attribute<br />

to the<br />

mission link.<br />

164 Chapter 4<br />

Add a title to the link to “mission.html” <strong>with</strong> the text “Read more about<br />

Starbuzz Coffee’s important mission”. Notice that we didn’t make the mission<br />

link’s label as concise as it should be. Shorten the link label to “our Mission”.<br />

Here’s the solution; did you test your changes?<br />

<br />

<br />

Starbuzz Coffee<br />

<br />

body {<br />

background-color: #d2b48c;<br />

margin-left: 20%;<br />

margin-right: 20%;<br />

border: 1px dotted gray;<br />

padding: 10px 10px 10px 10px;<br />

font-family: sans-serif;<br />

}<br />

<br />

<br />

<br />

Starbuzz Coffee Beverages<br />

House Blend, $1.49<br />

A smooth, mild blend of coffees from Mexico,<br />

Bolivia and Guatemala.<br />

Mocha Cafe Latte, $2.35<br />

Espresso, steamed milk and chocolate syrup.<br />

Cappuccino, $1.89<br />

A mixture of espresso, steamed milk and foam.<br />

Chai Tea, $1.85<br />

A spicy drink made <strong>with</strong> black tea, spices,<br />

milk and honey.<br />

<br />

<br />

Read about our Mission<br />

<br />

Read the Caffeine Buzz<br />

<br />

<br />

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

Saved successfully!

Ooh no, something went wrong!