Hyperlinks Flashcards
Web
it’s basicalyan interconnected system of public webpages accessible through the Internet.It is not the same as the Internet: the Web is one of many applications built on top of the Internet.
links
One of the fundamental building blocks of the internet are hyperlinks or for short, just links.
links are what actually enables the internet to be a world wide web. So without links between pages, there would be no web.
We can place links in two big categories:
- internal link: that point to other pages within our own website.
- external link: is links that point to outside of our website.
create a link
we use the a element, which stands for anchor. So technically, a hyperlink or a link is actually called anchor in HTML
where we want this link to point to? Well, for that, we need to once again use an attribute: href.
💡 what makes an anchor element really a link is the href property.
sometimes what we want to do is to open a link in a new tab.For this, we use the atribute : target=”_blank”
if we don’t want this to point anywhere we use : # symbol
Others use case
-within a page. with the “id” and “#”
-image links