Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/29.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net XHTML验证:找不到类似元素_Asp.net_Xhtml - Fatal编程技术网

Asp.net XHTML验证:找不到类似元素

Asp.net XHTML验证:找不到类似元素,asp.net,xhtml,Asp.net,Xhtml,我的aspx页面有一些facebook插件,比如,share,commentstream <fb:like href="http://Thomasblog.somee.com" send="true" width="450" show_faces="true" font="lucida grande"></fb:like> <p> Please add your comments and suuggestions </p> <p><

我的aspx页面有一些facebook插件,比如,share,commentstream

<fb:like href="http://Thomasblog.somee.com" send="true" width="450" show_faces="true" font="lucida grande"></fb:like>
<p> Please add your comments and suuggestions </p>
<p><fb:comments href="http://Thomasblog.somee.com" num_posts="4" width="500"></fb:comments></p>
<p><a name="fb_share" type="Share" share_url="http://Thomasblog.somee.com"></p>

请添加您的评论和建议

这里有一个错误(验证:XHTML1.0)元素,如不受支持。评论和分享也一样

这是我的XHTML声明

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
<head runat="server">

Facebook标记不是有效的XHTML(目前),因此它当然不会验证。不过,这可能只是一个警告,因此假设标记是正确的,您不应该对此有问题