在 HTML 中附加到底是什么意思?
我的 disqus code 有问题我在教程中注意到它告诉我这样做:
将#disqus_thread 附加到链接中的 href 属性。这将告诉 Disqus 要查找哪些链接并返回评论数。例如:<a href="http://foo.com/bar.html#disqus_thread">Link</a>
.
我不确定这到底是什么意思。我是否将其添加到主页按钮链接?
最佳答案
来自 jQuery 附加说明:
Description: Insert content, specified by the parameter, to the end of each element in the set of matched elements.
所以我认为你做得对。顺便说一句,你这样做有什么问题吗?
关于javascript - HTML 追加 HREF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38595285/