Anchor

« Back to Glossary Index

An anchor is a type of link that jumps to content on the same page as the link, rather than a different URL.  The anchor grabs the ID of the container you want to jump to and uses that instead of a standard URL.

Example:

<a href=”#top”>Go to the Top</a>

This is a default anchor that will scroll back to the top of the page.

<a href=”#text-widget-1″>Learn More…</a>

This anchor link jumps to a text widget later on the page with an id of text-widget-1.

 


WooCommerce

« Back to Glossary Index