How To Make A Link Clickable?

Use an HTML anchor tag: `Link text`

Put the destination URL in the `href` attribute

Add visible text between the opening and closing anchor tags

Use `target=”_blank”` if you want the link to open in a new tab

Use `rel=”noopener noreferrer”` when using `target=”_blank”`

In Markdown, use `[Link text](https://example.com)`

In plain text editors, paste a full URL such as `https://example.com`

In email, type or paste the full URL so it auto-detects as a clickable link

In most website builders, use the insert link option and enter the URL

In JavaScript, set an element’s `onclick` or assign `window.location.href` to a URL

Suggested for You

Trending Today