开发者

change fb:like to div element, possible?

Can this be replacd into <div class="facebook... , i do not wa开发者_运维知识库nt to use facebook prefix. i want to use div tag as it is more standard html

<fb:like layout="box_count" show_faces="false" font=""></fb:like>


This is not possible.

Side note:

fb:like is actually standard html in a way. The fb: is a namespace and the like is an element in the fb namespace. This is just the same as a div being and element in the default html namespace. So you are actually using standard html.

You'll see the namespace declared in the html tag when you visit the page with the like button. The fb namespace appears along side the default html namespace:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" ... />

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜