HTML Links
Links are a fundamental part of the web. They are what allow us to navigate from one page to another. In HTML, links are created using the <span class="font-bold"><a> anchor </span> tag.
Links are a fundamental part of the web. They are what allow us to navigate from one page to another. In HTML, links are created using the <span class="font-bold"><a> anchor </span> tag.
Example
Here is an example of how an anker tag would be coded:
<a href="https://www.google.com">This way to Google!</a>
In this example, we have created a link to Google. The <span class="font-bold">href</span> attribute specifies the URL of the page we want to link to, and the text between the opening and closing <span class="font-bold"><a></span> tags is the text that will be displayed on the page.
Internal Links
Internal links are links that point to another part of the same webpage. They are useful for creating a table of contents or for jumping to a specific section of a page.
<a href="#header">Jump to the header</a>