<!
DOCTYPE html>
<html>
<head>
<title>HTML Linking Demo</title>
</head>
<body>
<h1>HTML Linking Examples</h1>
<!-- Basic Absolute URL -->
<h2>Absolute URL</h2>
<p><a href="https://www.google.com">Visit Google</a></p>
<!-- Relative URL -->
<h2>Relative URL</h2>
<p><a href="about.html">About Us</a></p>
<!-- Link with target="_blank" -->
<h2>Open Link in New Tab</h2>
<p><a href="https://www.w3schools.com/" target="_blank">Visit W3Schools</a></p>
<!-- Image as a Link -->
<h2>Image as a Link</h2>
<a href="https://www.w3schools.com/html/">
<img src="smiley.gif" alt="HTML Tutorial" style="width:42px;height:42px;">
</a>
<!-- Mailto Link -->
<h2>Link to Email</h2>
<p><a href="mailto:someone@example.com">Send Email</a></p>
<!-- Button as a Link using JavaScript -->
<h2>Button as a Link</h2>
<button onclick="document.location='https://www.w3schools.com/html/'">Go to HTML
Tutorial</button>
<!-- Link with Tooltip (title attribute) -->
<h2>Link with Tooltip</h2>
<p><a href="https://www.w3schools.com/html/" title="Go to W3Schools HTML
section">Visit HTML Tutorial</a></p>
</body>
</html>