原网址:https://www.cnblogcnblogs.com/ytkah/p/12365444.html
做英文网站的朋友可能经常会加一些分享代码,有很多插件可以实现比如addthis、sharethis、addtoany等,但这些我们无法给外部链接添加nofollow属性,有没有纯html分享代码呢?有的!下面ytkah就分享一些,有需要的朋友可以试一下
a
rel="nofollo" href="https://twitter.com/share?url=&text=TEXT
>via=USERNAME
>">
Twitter
a
>
a
rel="nofollow" href="https://www.facebook.com/sharer/sharer.php?u=">
Facebook
a
>
a
rel="nofollow" href="https://reddit.com/submit?url=&title=TITLE
>">
Reddit
a
>
a
rel="nofollow" href="https://news.ycombinator.com/submitlink?u=&t=TITLE
>">
Hacker News
a
>
a
rel="nofollow" href="https://www.linkedin.com/shareArticle?url=&title=TITLE
>&summary=SUMMARY
>&source=SOURCE_URL
>">
参与评论
手机查看
返回顶部