- <a></a> tags are called link markers , and are made up of <a> and </a> The enclosed text, pictures, etc. can be used as a link
Eg:<a href= "index.html" name= "Hello" target= "_top" >
- href= "Index.html"
This parameter cannot be associated with another parameterNameUse This parameter to create a link that can be pressed.
- when as a outer when linking: href What is set is the name of the file to which the link is attached, if the file is associated with this html
- when as a inside when linking: href What is set is the reference point of the same file as the reference point or the designated file of the link, and do not surround any calligraphy and painting only add the end of the mark </A> <a href= "#there" ></a> <a href= "Index.html#there" ></a> and <a href= "http:/ /www.school.net.hk/~chris55/index.html#there "></a> there Span style= "font-family: Song Body" is the reference point, and it is preceded by a symbol # name was buried in advance in the document.
- Name= "Hello"
This parameter is to bury the reference point for the file as being linked and will not be displayed. So that creates an internal knot to use two times <A> link tag. One using the parameter name First buries a reference point in the file, and the other uses the parameter href to connect to the reference point.
- target= "_top"
sets the window to be displayed for the result of the link being pressed. The optional values are: _blank, _parent, _self, _top, box window name .
- target= " box window name "
This applies only to the frame, and if set, the result of the link is displayed in the box window with the box window name , which is named in advance by the frame tag.
- target= "_blank" or target= "new"
The contents of the link are opened in a new browsing window.
- target= "_parent"
View the contents of the link as the last screen of the file.
- target= "_self"
Displays the contents of the linked screen in the current window. ( default value )
- target= "_top"
Displays the contents of the frames linked to the frame in a window without frames. (that is, the frame is removed )
Use of HTML <a> tags