--- title: Link to Internal Sections of a Page with Anchor Elements localeTitle: 链接到具有锚元素的页面的内部部分 --- ## 链接到具有锚元素的页面的内部部分 如说明中所述,内部链接由两个元素组成: `a`标签和html元素,其`id`在`a`标签的`href`属性中使用。 所有这些都是有效的内部链接: 主播标签|带来 ----- | ------ `I am an internal link` | `
I am the destination of the link
` `I am an internal link` | `I am the destination of the link` `I am an internal link` | `