How to Put Link in HTML?

Use the `` tag

Add the URL in the `href` attribute

Write 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