Home
HTML
HTML Links
Example 2: HTML Links
Run ❯❯
<!DOCTYPE html> <html> <head> <title>Relative and Absolute URL Example</title> </head> <body> <h1>Absolute URL Example</h1> <a href="https://resultuniversity.com/html/what-is-html">Absolute URL</a> <p>The link above is created with an absolute URL. Click on the link to see where it resolves to.</p> <h1>Relative URL Examples</h1> <a href="what-is-html">Relative URL - 1</a> <a href="/css/what-is-css">Relative URL - 2</a> <p>Links above are two relative URLs. Click on them to see where they resolves to.</p> </body> </html>