In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to use the ahref tag, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
An is the HTML language tag. The a tag defines a hyperlink that is used to link from one page to another. The most important attribute of the an element is the href attribute, which specifies the target of the link.
Introduction to ahref tags
Label or uppercase An in HTML. The a (or A) is the abbreviation of anchor. The basic explanation of anchor ['& aelig;'k'] is. Anchor, iron anchor.
The purpose of these tags is to indicate the starting or destination position of the hyperlink.
The label defines the anchor. Anchors (anchor) have two uses:
Create a link (or hyperlink) to another document by using the href attribute. By using the name or id attribute, create a bookmark inside the document (that is, you can create a link to a document fragment) the most important attribute of the element is the href attribute, which specifies the target of the link.
In all browsers, the default appearance of a link is:
Unaccessed links are underlined and blue visited links are underlined and purple active links are underlined and red
Example:
one. Keywords
two. Keywords
Ahref optional attribute editing
#: new attribute in HTML5.
Attribute
Value
Description
Charset
Char_encoding
HTML5 does not support it. Specifies the character encoding of the target URL.
Coords
Coordinates
HTML5 does not support it. Specifies the coordinates of the link.
Download (#)
Filename
Specify download link
Href
URL
Specifies the target URL of the link.
Hreflang
Language_code
Specifies the benchmark language for the target URL. Used only if the href property exists.
Media (#)
Media_query
Specify the media type of the target URL. Default value: all. Used only if the href property exists.
Name
Section_name
HTML5 does not support it. Specify the name of the anchor.
Rel
Alternate
Author
Bookmark
Help
License
Next
Nofollow
Noreferrer
Prefetch
Prev
Search
Tag
Specifies the relationship between the current document and the target URL. Used only if the href property exists.
Rev
Text
HTML5 does not support it. Specifies the relationship between the target URL and the current document.
Shape
Default
Rect
Circle
Poly
HTML5 does not support it. Specifies the shape of the link.
Target
_ blank
_ parent
_ self
_ topename
Specifies where to open the target URL. Used only if the href property exists.
Type (#)
MIME_type
Specifies the MIME type of the target URL. Used only if the href property exists.
Note: MIME=MultipurposeInternetMailExtensions.
Thank you for reading this article carefully. I hope the article "how to use ahref tags" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.