Target attribute value. jquery obtains the attribute value.
Four reserved target names are used as special document redirection operations:
_ Blank
The browser always loads the target document in a new and untitled window.
_ Self
The <a> label of this target value is the default target for all unspecified targets, so that the target document is loaded and displayed in the same framework or window as the source document. This goal is redundant and unnecessary unless used together with the target attribute in the document title <base> tag.
_ Parent
This object enables the document to be loaded into the parent window or contains the framework set of the Framework referenced by the hyperlink. If the reference is in a window or in a top-level framework, it is equivalent to the target _ self.
_ Top
This object causes the document to load the window containing this hyperlink. The _ top object will clear all contained frameworks and load the document into the entire browser window.
Another scenario is target = "iframename". iframename is the name attribute value of iframe on the page. The content will be displayed in this iframe.
Target attribute Problems
Target = "_ blank": browse a new page in a new window.
Target = "_ self": opens a new page in the same window.
Target = "_ parent": opens a new page in the parent window. (Frameworks can be used on the page)
Target = "_ top": displays the new page in the browser window. (Beyond the limitations of the page Framework)
For the target attribute in HTML
The framework is a browser page that is not composed of several parts, which is similar to the display of several browser colleagues. Each part is irrelevant.
The form is the browser window. This should be easy to understand.
Parent frame: It is higher than the frame where the hyperlink you clicked is located. If the target value is _ parent, if there is only one frame, this is equivalent to opening a new webpage on the entire browser interface. If the framework is nested, It will be opened in a framework with a higher level.