HTML and CSS Reference
In-Depth Information
Behind
the Scenes
Next, when a user clicks on a link, the browser uses the “href”
attribute to determine the page the link points to.
2
Th e user click s on e ither the
“elixi rs” lin k or…
I f “elixirs” was cli cked, the
b rowser grabs the href value
“e lixir.html”…
Whe n “det ailed d irecti ons” is
click ed, th e brow ser gr abs th e
valu e of t he href attr ibute, in
this case “ direct ions.ht ml”…
<a href="elixir.html">elixirs</a>
…and display s the
“elixir .html” page.
<a href="directions.html">detailed directions</a>
…and loads “direc tions.h tml”.
Search WWH ::




Custom Search