How to Insert a Link in HTML?

Use the `` tag

Add the `href` attribute with the destination URL

Place the clickable text between the opening and closing `` tags

Example: `Visit Example`

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

Use `rel=”noopener noreferrer”` with `target=”_blank”` for security

Use relative URLs for links within the same website

Use absolute URLs for links to external websites

Suggested for You

Trending Today