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
Here we introduce the centos server with docker i...
Recently, when upgrading the Zabbix database from...
1. Prepare the Docker environment 2. Search for f...
MySQL allows you to create multiple indexes on th...
Table of contents 1. Scopes are expressed in diff...
Start the mysql container in docekr Use command: ...
1. Embedded Software Level 1) Bootloader->Boot...
For individual webmasters, how to make their websi...
1. Installation apt-get install mysql-server requ...
Why do we achieve this effect? In fact, this ef...
Recently, there is a requirement for uploading pi...
This article shares the specific code of the WeCh...
1. Download the installation package from the off...
Write to the css file Copy code The code is as fol...
Route parameters, route navigation guards: retain...