O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Linking to a Specific Anchor

Once you have created an anchor via an id, you can define a link so when a user triggers it, the page jumps directly to the section of the document that contains the anchor (Image and Image), rather than to the top of the document.

Image When the visitor points at a link that refers to an anchor, the URL and the anchor name appear in the status bar (in the lower-left corner of the window) on desktop browsers.

Once the visitor activates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required