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
This article shares the installation tutorial of ...
1. First, let’s have a general introduction to th...
This article uses examples to illustrate the usag...
Table of contents 1. Basic knowledge of indexing ...
Since the standard ab only supports stress testin...
Source of the problem: If the slave server is the...
I believe that people who have experience with Re...
Table of contents Problem Analysis Why encapsulat...
Table of contents Requirements: Implementation st...
background go-fastdfs is a distributed file syste...
Table of contents 1. Introduction to platform bus...
First, let me explain the version of MySQL: mysql...
MySQL needs to be upgraded to version 5.5.3 or ab...
This article uses examples to describe common ope...
1. How to create a user and password 1. Enter the...