Hyperlinks can connect to local web pages or external web pages. To add navigation to your website you will need to add hyperlinks which connect your individual web pages. You can add hyperlinks to your web page using the
<a> element. The text you want to display as the hyperlink goes between the opening and closing hyperlink tags. The
<a> element has an attribute
href which is the location to link to. The location of a local page is just the file path for that page.
Assuming you have a website that includes a second page with the filename
houses.html, you could create a link to that page like this:
<a>tag wraps the text that you want to turn into a clickable link. A is short for anchor.
hrefattribute, short for hypertext reference, determines where your link should go to. In this case,
W3 Schools Link
Found a bug in the documentation? Let us know at email@example.com