As long as people who have studied or used HTML, I think it should be no stranger to <a> tags. To make a brief explanation of <a> today, briefly describe my understanding.
<a> is a hyperlink label. What is a hyperlink? It is to connect the current content with another resource on the network. Click the connection to make a jump to another resource that is linked.
Personally, the hyperlink can be imagined as a kind of ability. The ability must be attached to a specific physical object to truly play the ability. For example, stealth ability, it cannot be invisible, only when it attaches it to the person, it is attached to the person, it is attached to the person, it is attached to the person, and only when it is attached to the person, it is attached to the person. Seeing people invisible can it prove the existence of this ability. The same is true of <a> hyperlinks. It has also attached to many contents. The simplest is text, of course, it can also make other things, such as pictures, and so on. As shown below:
<A href =/index.html> This text </a>
or
<A href = ****. html> <IMG Border = 0 SRC = Buttonnext.gif /> </a>
For the hyperlink <a>, we said earlier that the role is to jump to another network resources when clicking, so we need to focus on two points: (1) Where to jump to? (2) Where does the resource jump to open the display? Essence
At this time, we need to pay attention to the two important attributes of the <a> label, namely HREF and Target attributes.
The HREF attribute is used to indicate the address of another network resource connected, which can make the absolute address, the relative address, or the location of a certain element in the content of the page;
The target attribute is used to indicate where the connected resources are opened, and there are five types of access: the value of the connected resources:
Attribute value Simple explanation ,_Blank is a new browser page after clicking and loading the linking resources; _top is to open the connected resources on the current page. , Then the linked resources will be displayed in the original <a> label.
The above is all the contents of this article. I hope it will be helpful to everyone's learning. I also hope that everyone will support VEVB Wulin.com.