超级链接–页内锚点和邮件的发送与抄写
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/6f8a88c73ae7564be8fa61a0ad036e92.png)
代码
<!DOCTYPE html>
<html lang="en">
<head>
<title>超链接</title>
</head>
<body background=".//11.jpg">
<h1 style="background-color: aqua">超链接--邮件、锚点</h1>
<h3>超链接<a>之name属性</h3>
<ul>
<li><a href="#anchor01">anchor01</a></li>
<li><a href="#anchor02">anchor02</a></li>
<li><a href="#anchor03">anchor03</a></li>
</ul>
<h3>邮件发送与抄送地址链接mailto?cc=</h3>
<a href="mailto:*********@qq.com?cc=*********@qq.com">
通过mailto:example@email.com?cc=@email.com
</a>
<h3>添加邮件主题和内容</h3>
<a href="mailto:*********@qq.com?cc=1902039324@qq.com&subject=Email%20Subject&body=Email%20Body%20Text">
各参数之间用&字符连接<br>
subject=Emaile%20Subject表示邮件主题<br>
body=Email%20Body%20Text表示邮件内容<br>
%数不同表示不同的含义
</a>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<h3 id="anchor01">锚点-01</h3>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<p>
<h3>锁定锚点使用id或者name</h3> <br>
<a name="anchor02">锚点-02</a>
</p>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<p>
<a name="anchor03">锚点-03</a>
</p>
<h3>超链接之target</h3>
<p>
<a href="2.html" target="_blank">_blank打开一个新标签页/_self在当前标签页显示/
_parent在父窗口显示/_top清空所有被包含的标签页再显示
</a>
</p>
</body>
</html>