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.

how links work<br />

2<br />

Next, when a user clicks on a link, the browser uses the “href”<br />

attribute to determine the page the link points to.<br />

The user clicks on either the<br />

elixirs link or...<br />

...on detailed directions.<br />

When “detailed directions” is<br />

clicked, the browser grabs the<br />

value of the href attribute, in<br />

this case “directions.html”...<br />

detailed directions<br />

50 Chapter 2<br />

...and loads “directions.html”.<br />

Behind<br />

the Scenes<br />

If elixirs was clicked, the<br />

browser grabs the href value<br />

“elixir.html”...<br />

elixirs<br />

...and displays the<br />

“elixir.html” page.

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

Saved successfully!

Ooh no, something went wrong!