Skip link
On this page
On this page
Skip Link
import '@rhds/elements/rh-skip-link/rh-skip-link.js';
```
<rh-skip-link href="#main-content">Skip to main content</rh-skip-link>
```
Href Attribute
import '@rhds/elements/rh-skip-link/rh-skip-link.js';
```
<rh-skip-link href="#main-content">Skip to main content</rh-skip-link>
<div id="main-content">
<h1>Skip link</h1>
<p>To show the skip link, click the white background and press your tab key <a href="#">Link</a>.</p>
</div>
```
With Content
import '@rhds/elements/rh-skip-link/rh-skip-link.js';
```
<rh-skip-link>
<a href="#main-content">Skip to main content</a>
</rh-skip-link>
<h1>Skip link</h1>
<p>To show the skip link, click the white background and press your tab key.</p>
<link rel="stylesheet" href="../rh-skip-link-lightdom-shim.css">
```
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.