添加FB Like按钮 [英] Adding FB Like Button

查看:288
本文介绍了添加FB Like按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我去了FB for Developers页面并复制了所有代码并将它们粘贴到我的网站的正确位置(希望如此),但是EW标记了"数据 - *"代码行对HTML5无效。

I went to the FB for Developers page and copied all the code and pasted them into my website in the right places (hopefully), but EW flags the "data-*" code lines as invalid for HTML5.

任何人都有这方面的经验吗?

Anyone have any experience with this?

Ian

推荐答案

页面是否有效?如果是,请忽略该警告。 FP特定标签不符合EW的理解。  "数据-..."结构可以使用您的代码想要使用的任何值,因此EW永远不会知道它的所有自定义用法。

Does the page work? If so, ignore the warning. FP-specific tags would not be in EW's understanding.  The "data-..." structure can take any value your code wants to use, so EW would never know all the custom uses of it.

Kathleen Wilber

BrightWillow - Asp.Net应用程序

Kathleen Wilber
BrightWillow - Asp.Net Applications





这篇关于添加FB Like按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆