The label is the baseline URL tag in the HTML language and is a single label.
The label is located within the .lt;head?gt; label of the page header file, and a page can use up to one base element to provide a specified default target.
May 04, 2021 HTML Reference Manual
3. Label definition and instructions for use
5. The difference between HTML 4.01 and HTML5
The label is the baseline URL tag in the HTML language and is a single label.
The label is located within the .lt;head?gt; label of the page header file, and a page can use up to one base element to provide a specified default target.
Specify the default URL and default destination for all links on the page:
All major browsers support the label.
The label specifies the default URL or default destination for all relative links on the page.
You can use up to one element in a document. T he label must be inside the element.
Tip: Please put the label in the position of the first element in the element so that the information in the element can be used by the other elements in the head area.
Note: If you are using the label, you must have the href property or the target property or both properties.
No.
In HTML, the label does not have an end label.
In XHTML, the label must be turned off correctly.
Property | Value | Describe |
---|---|---|
Href | Url | Specifies the baseline URL for all relative links on the page. |
target |
_blank
_parent _self _top framename |
Specify where all hyperlinks and forms in the page open. The property is overwritten by the target property in each link. |
The label supports the global properties of HTML.
The label does not support any event properties.
HTML DOM Reference Manual: Base Object