📅  最后修改于: 2020-11-04 00:51:50             🧑  作者: Mango
HTML
只有一个
在HTML中
以下是有关
Display | None |
Start tag/End tag | Only start-tag |
Usage | Anchors and links |
在同一窗口中打开(默认情况下)
Base tag
List of Web developement Tutorial
HTML tutorial
CSS tutorial
Bootstrap tutorial
JavaScript tutorial
JavaScript tutorial
在上面的示例中,我们使用了基本URL =“ https://www.javatpoint.com”,所有其他相关链接都将其视为起始URL。此处(/)定义当前文档的根URL。
Base tag
List of Web developement Tutorial
HTML tutorial
CSS tutorial
Bootstrap tutorial
JavaScript tutorial
JavaScript tutorial
在上面的示例中,我们仅使用target =“ _ blank”
标签特定属性:
Attribute | Value | Definition |
---|---|---|
href | URL | It specifies the base URL for all relative links. |
target | ||
_blank | Open the relative link in the new window | |
_self | Open the relative link in current window | |
_parent | Open the relative link in the parent frame | |
_top | Open the links in full width of the page |
Element | Chrome | IE | Firefox | Opera | Safari |
Yes | Yes | Yes | Yes | Yes |