首页 > 代码库 > 网站初学笔记3-HTML实用元素

网站初学笔记3-HTML实用元素

HTML中链接邮件地址:

<!DOCTYPE html>
<html>
<body>

<address>
Written by <a href="mailto:webmaster@example.com">Donald Duck</a>.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

</body>
</html>


结果:

Written by Donald Duck.
Visit us at:
Example.com
Box 564, Disneyland
USA


HTML <abbr> 标签标记一个缩写:


<!DOCTYPE HTML>
<html>
<body>

The <abbr title="People‘s Republic of China">PRC</abbr> was founded in 1949.

</body>
</html>

结果: