What is a hyperlink?

藏色散人
Release: 2020-09-10 13:18:11
Original
50848 people have browsed it

What is a hyperlink?

What is a hyperlink?

A hyperlink is essentially part of a web page. It is an element that allows us to connect to other web pages or sites. Only when various web pages are linked together can a website be truly formed.

The so-called hyperlink refers to the connection relationship from a web page to a target. The target can be another web page, a different location on the same web page, or a picture or an email address. , a file, or even an application. The object used for hyperlinks in a web page can be a piece of text or an image. When the viewer clicks on the linked text or image, the link target will be displayed on the browser and opened or run based on the type of target.

A simple example: If you encounter a word you don’t understand when reading an article, just click on the word and its detailed description will appear. After reading, click Click the back button to continue reading. The method to achieve this function is called a hyperlink. Such links can be text, other documents, sounds, pictures, digital movies, etc.

Hyperlink characteristics:

Hyperlinks are one of the important features that distinguish Web pages from other media. Web viewers only need to click on a hyperlink in the webpage. Automatically jump to the target object of the hyperlink, and the number of hyperlinks is unlimited. The carrier of a hyperlink can be text or an image. A text hyperlink is a word or phrase that is assigned a target URL. A picture hyperlink is a default hyperlink assigned to the entire picture. You can also assign one or more hotspots to the picture, that is, divide multiple areas in the picture to assign hyperlinks.

A complete hyperlink consists of two parts, namely the link carrier and the link target address. The carrier of the link refers to the part that displays the link, that is, the text or image containing the hyperlink. The target of the link refers to the content displayed after clicking the hyperlink, which may be to open another web page, enter another website, or open an e-mail, etc. Therefore, before creating a hyperlink, you must first determine the carrier of the link and the target address of the link.

The above is the detailed content of What is a hyperlink?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template