This time I will show you how to use the tag to write personal favorites in HTML. What are the things to note when using the tag to write personal favorites in HTML? are as follows. This is a practical case, let’s take a look at it.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML:基础教程a标签</title> </head> <body> <h1>我的个人收藏夹</h1> <a href="https://home.cnblogs.com/u/qjuly/ " title="博客园地址" target="_blank">我的博客园</a> <a href="http://www.chinaz.com/news/2011/1017/213987.shtml" title="看作者是如何成为大牛的" target="_blank">[文章]我是如何学习计算机的</a> <a href="https://www.jianshu.com/" title="简书上也可以创作博客" target="_blank">简书创作你的创作</a> <a href="https://www.cnblogs.com/TomXu/archive/2011/12/15/2288411.html" target="_blank" title="js好文值得一看">[文章]深入理解JavaScript</a> <a href="http://www.runoob.com/js/js-conventions.html" target="_blank" title="js的代码规范编写良好的代码">JavaScript代码规范</a> <a href="http://www.cnblogs.com/rubylouvre/archive/2009/11/20/1606470.html" title="jQuery源码解读" target="_blank">[文章]jQuery源码学习笔记</a> </body> </html>
HyperlinkTag
href: Just put the address and click Jump to the page (if you fill in http://baidu.com, click it and it will jump to the Baidu page) title: text comment (when the mouse is moved into the text displayed on the a tag, such as being on a blog The "Blog Park Address" is displayed on the park) target="_blank": specifies where to open this link (using this tag will open the page in a new page, do not add this attribute - the default is On the current page) I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the php Chinese website! Related reading:HTML uses img tag to create images
HTML inline style improvement "San Mao's Classic Quotes" 》
The above is the detailed content of How to use tag to write personal favorites in HTML. For more information, please follow other related articles on the PHP Chinese website!