We explain what hyperlinks are and what these elements are for on the web. Types of hyperlinks and examples of use.
What is a hyperlink?
Hyperlink or hyperlink is called a type of element present in electronic documents ( Web pages , emails, digital text documents , etc.) that refers to another document, a specific part of the same document or another resource of any nature, such as online searches , purchase mechanisms, subscriptions,etc.
The hyperlinks, then, consist in the possibility of “jumping” from one text to another , from one information to another, following the thread of association of the user’s interests, rather than a linear and successive logic as occurs in traditional culture.
These types of associations are fundamental in the operation of the World Wide Web , since a hyperlink, together with an access protocol to an established data network, allows you to “visit” the different resources available online , either to view or download them to the computer .
Every hyperlink has two ends: a source anchor and a destination link. The former are usually highlighted in Internet browsers or browsers (in color and underlined as well ). By selecting the point of origin you have access to a single destination, which can be of different multimedia nature . When hyperlinks stop operating, because they fail to track the promised content, they are told they are “broken.”
What are hyperlinks for?
Hyperlinks allow a novel form of displacement, often referred to as the link , and which consists in the association between a text and another that do not necessarily share context or tasks , but are linked together by some term, meaning or reference .
It is similar to the search for a word in the dictionary: the description of the meaning may contain other unknown words that we would look for in the dictionary and so on, moving away from the original.
There are several types of hyperlink, based on the content or the action they take and their environment:
- Hyperlinked text . Those that start and / or lead to a digital text, or a specific part of one, such as a chapter or a footnote. This allows the creation of a network of meaning between two or more reading texts .
- Image hyperlink . Similar to the previous case, but it leads to a certain image and hosted online. This is also the case of images that contain a hyperlink, and that when selected lead to new resources, such as online advertising .
- Hyperlink to e-mail . Activate the preset mechanisms to send an email message to a preset email address.
- Hyperlink to specific functions . Activate the preset mechanisms to perform certain functions on the computer , such as printing, saving, increasing the font size, etc.
Hyperlinks can also be classified according to the location of the resource they invoke, as follows:
- Local or internal hyperlink . It refers to content hosted in a local directory, be it the same computer, the same web page, etc.
- External hyperlink . It refers, however, to content external to the system, such as a different web page.
Hyperlink examples abound in the network . In online encyclopedias such as Wikipedia, for example, words or phrases that have additional content in a parallel entry are highlighted in color and underlined , so that by clicking on them the browser will lead us to the corresponding content .
The same happens when we visit a commercial Web page and wish to contact the administrator, by clicking on the hyperlink that leads us to his email box, or if we simply wish to advance to the section of the Web page where we can make the payment.
Hyperlink in HTML
HTML is a typical programming language for Web pages and digital Internet interaction . Among its many functions is to program hyperlinks, for which two operations are required: 1) establish the anchors or markers, and 2) enter the addresses of the links.
The descriptors for this resource, when it comes to local hyperlinks, are those of “name” (in the new versions of html it has already been deleted) or “id”, and are introduced as follows in the text corresponding to the destination:<a name= manually bookmark name †> Text associated with the bookmark </a>
<a id= manually bookmark name †> Text associated with the bookmark </a>
The “href” command can then be used within the source text to allow jumps to the named sections (with “name” or “id”). In the case of external hyperlinks, the “href” command must then be used directly with the requested URL .
For example, for a local link:<a href= reblogged the bookmark name †> Bookmark text </a>