The freeCodeCamp Contribution Page shows you how and where you can contribute to freeCodeCamp's community and growth.
``` 所有浏览器都支持``属性。 #### 更多属性: `hreflang` :指定链接资源的语言。 `target` :指定链接资源将在其中打开的上下文。 `title` :定义链接的标题,该链接在用户看来是工具提示。 ### 例子 ```html This is a dead link This is a live link to freeCodeCamp more with a href attribute ``` ### 页内锚点 也可以将锚点设置到页面的某个位置。要执行此操作,您应首先在页面上的位置放置一个标签,其中包含标记和必要属性“name”,其中包含任何关键字说明,如下所示: ```html ``` 不需要标签之间的任何描述。之后,您可以在同一页面的任何位置放置一个指向此锚点的链接。要做到这一点,你应该使用带有符号#(sharp)的必要属性“href”的标签和锚点的关键字描述,如下所示: ```html Go to Top ``` ### 图片链接 ``也可以应用于图像和其他HTML元素。 ### 例 ```html ``` ### 例 [![图片](http://www.chatbot.chat/assets/images/header-bg_y.jpg)](#) ### 更多href的例子 ```html