Characteristics of a hyperlink
A hyperlink is an element of an electronic document that refers to another resource, such as another document or a specific point in the same or another document. Combined with a data network and an access protocol, a hyperlink provides access to the resource referenced in different ways, like visiting with an agent navigation display as part of the referenced document or save it locally.
Hyperlinks are integral to the architecture of the internet, but the concept is not limited to HTML or the internet. Almost any electronic medium may employ some form of hyperlink.
A link has two ends, called anchors, and an address. The link starts at anchor points to anchor origin and destination. However, the term link is often used for anchor origin, while the destination anchor is called the link target.
The most common destination link is a URL used on the internet. You can invoke a document, for example a web page to another resource, or a certain position on a webpage. The latter is achieved by assigning to an HTML element attribute "name" or "id" in the position of the HTML document. The URL of the position is the URL of the page with "# attribute name" appended.
Behavior of the links in web browsers
A web browser usually displays a hyperlink in distinctive way, for example with a color, letter or different style. The behavior and style of links can be specified using CSS language.
The mouse can also switch to a hand to indicate the link. In many browsers, links are displayed in underlined blue text when they have not been visited, and underlined purple text when they have been visited. When the user activates the link (eg clicking on it with the mouse) the browser displays the link destination. If the destination is not an HTML file, depending on file type, the browser and its plugins, you can activate another program to open the file.
The HTML code contains all the features of a link:
* Link target (URL) (destination) or (location)
* Link label
* Link title
* Link class or link id