HTML web page hyperlink tag learning tutorial link tag attributes link is one of the most important elements in a web page and is the soul of a website. A website is composed of multiple pages, and the navigation relationship between pages is determined by links. Every web page has a unique address, which is called URL (Uniform Resource Locator) in English. Enter https://www.jb51.net in the address bar and press Enter to open the main page of the 123WORDPRESS.COM website. As you can see, there are multiple columns, multiple news items, etc. on the page, and the different columns at the top are text links. Although the link tag occupies an irreplaceable position in website design and production, there is only one tag, that is, the <a> tag. The link applications introduced on this site are all based on the <a> tag. The properties of the link tag are shown in the following table | property | describe | href specifies the link addressname gives the link a nametitle gives the link hint texttarget specifies the target window of the linkaccesskey link hotkeyAbout pathEvery file has its own storage location and path. Understanding the path relationship between a file and the file to be linked is the basis for creating a link. URL—Uniform Resource Locator refers to the independent address that each website has. Every web page under the same website belongs to the same address, but when creating a web page, it is impossible and unnecessary to enter the full address for each link. We just need to determine the relative path relationship between the current document and the site root directory. Therefore, links can be divided into the following three types: Absolute path such as https://www.jb51.net Relative path such as news/default.htm Root path such as /website/news/default.htm
---|
<<: Steps to install MySQL 8.0.23 under Centos7 (beginner level)
>>: CSS techniques for achieving multi-column equal height layout that the front end should master
Deleting a table is not very common, especially f...
<br />The author used to be a novice in web ...
Detailed explanation of MySQL exporting data from...
Table of contents Scenario Requirements glibc ver...
This article will introduce how to use explain to...
The significance of writing order Reduce browser ...
Table of contents What is an agent Basic knowledg...
The installation and configuration method of MySQ...
Table of contents 1. context 1. Usage scenarios 2...
Mac latest version of MySQL 8.0.22 password recov...
First put a piece of code for(int i=0;i<1000;i...
js array is probably familiar to everyone, becaus...
Table of contents Network Information Modify the ...
Table of contents 1. Simple to use 2. Use DISTINC...
Vue calls the PC camera to take pictures in real ...