View video tutorial
HTML Hyperlinks
HTML
<a>
Hyperlinks or Links allows users to move to another page.
Hyperlink is a connection to a destination page.
Users click on a link and jump to a new page.
Link can open on same page, or new page depending on the target attribute value.
Links have different colors when active, visited and unvisited.
Learning with HTML Editor "Try it Now"
You can edit the HTML code and view the result using online editor.
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML Hyperlink Example</title>
</head>
<body>
<!--Example: Hyperlink-->
<h1>Heading One</h1>
<p><a href="https://www.google.com" target="_blank">Link opens in a new window</a></p>
<h1>Heading Two</h1>
<p><a href="https://www.google.com" target="_parent">Link opens in a same window</a></p>
</body>
</html>
Click on the "See output" button to see how it works.