Code Editor Panel
Home
HTML Tutorial
HTML Links
Run
HTML
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h2>Absolute URLs</h2> <p><a href="https://example.com/">Visit Example.com</a></p> <p><a href="https://example.com/resources/" target="_blank" rel="noopener">Example resources (opens in a new tab)</a></p>
<h2>Relative URLs</h2> <p><a href="html-images.htm">HTML images lesson</a></p> <p><a href="../about-us/">About us</a></p> </body> </html>
Output