.png)
Relative Links in HTML
A relative link is a type of hyperlink that points to a file or page within the same website. It does not include the full website address (URL). Relative links are useful for connecting pages inside a project or website.
Example of Relative Link
<a href="about.html">About Us</a>
Absolute Links in HTML
An absolute link is a complete web address that includes the protocol (https://) and domain name. It is used to connect to pages on other websites or external resources.
Example of Absolute Link
<a href="https://www.google.com">Visit Google</a>
0 Comments