What this means is that you can turn any element into a link simply by adding an href attribute to it, rather than having to surround individual elements with an anchor tag.
这意味只要将hre f属性添加到任何元素,就可以将它转换成链接,而不一定要用锚标记包围单个元素。
If you want to provide a hyphenated element name (such as official-name) or add namespace support, simply surround the element name in quotes.
如果您想提供一个以连字符链接的元素名称的话(诸如official - name),又或者想要添加名称空间支持的话,只要给元素名称加上引号就可以了。
应用推荐