HTML to add a link to the label used for the <a> tag
Syntax :
Definition: Jump to a label on a specified page or file from the current page
<a href= "URL" > Hotspot text </a>
URL (Uniform Resource Locator Uniform Resource Locator)
protocol://domain name or address/path/file name. suffix name? parameter # tag
Do not write in the corresponding address to find the file open
HTTP Hypertext Transfer Protocol
FTP File Transfer Protocol
Mail Transfer Protocol (if a local mail client is installed, such as Outlook)
JavaScript Pseudo-protocol generally if the Request page label does not do any jumps generally will use javascript:void (0),
In the actual development process, this method is often used to deal with the skip page without programming, but need to keep the jump effect.
#标记meaning is to jump to the development section of the specified file (jump location, that is, anchor ), set the anchor point by the name property of a note
Common Properties:
name defines an anchor point in #标记format
target Common values are _self and _blank, the default is _self, which is open on the current tab, andblank is a new 's tab opens.
Also the infrequently used values are _parent, opened in the parent window, _top, opened in the top-level window.
HTML Learning Notes (vi) Adding links