![]() |
Both examples above are using an absolute URL (a full web address) in the |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h2>Absolute URLs</h2>
<p><a href="https://www.w3.org/">W3C</a></p>
<p><a href="https://www.google.com/">Google</a></p>
<h2>Relative URLs</h2>
<p><a href="html_images.asp">HTML Images</a></p>
<p><a href="/css/default.asp">CSS Tutorial</a></p>
</body>
</html>
What is HTML Links | HTML Links |
How to create HTML Links - Syntax | HTML Links |
How to create HTML Links The target Attribute | HTML Links |
What is Absolute URLs vs. Relative URLs | HTML Links |
How to use an Image as a Link | HTML Links |
How to use Link to an Email Address | HTML Links |
How to create Button as a Link | HTML Links |
How to use a title in Link | HTML Links |
Full Example of Absolute URLs vs. Relative URLs | HTML Links |
Read Full: | HTML Links |
Category: | Web Tutorial |
Sub Category: | HTML Links |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 51 |
Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_links