html上标下标标签 示例
<a>标签 (<a> Tag)
<a> tag in HTML is used to add a hyperlink to another webpage in HTML. It uses the href attribute to link to destination files in HTML.
HTML中的<a>标记用于将超链接添加到HTML中的另一个网页。 它使用href属性链接到HTML中的目标文件。
There are basically three types of links in a webpage,
网页中的链接基本上有三种类型,
unvisited link: indicated by the blue underlined link.
未访问的链接 :由带蓝色下划线的链接指示。
visited link: indicated by the purple underlined link
访问过的链接 :由带紫色下划线的链接指示
active link: indicated by a red-underlined link
活动链接 :用带红色下划线的链接表示
Syntax:
句法:
<a href="linkToOtherWebpage">ContentOfTheTag</a>
Technical insights of <a> tag
<a>标签的技术见解
It supports global attributes and attributes that handle events of HTML5.
它支持全局属性和处理HTML5事件的属性。
Supported by all browsers.
所有浏览器都支持。
Example:
例:
<!DOCTYPE html>
<html>
<head>
<title>HTML Tutorial at IncludeHelp</title>
</head>
<body>
<h1>HTML tutorial</h1>
<p>You can find tutorial on HTML: <a href="https://www.includehelp.com/html/">HTML Tutorial</a></p>
</body>
</html>
Output
输出量
翻译自: https://www.includehelp.com/html/a-tag-with-examples.aspx
html上标下标标签 示例