[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1527
  • Last Modified:

W3C validation error in Facebook like box

HI

My site coding was W3C standards before i install the Facebook like box.
Now as soon i installed the like box it is showing 7 errors on the site page.

Anyone have got success to fix this issue.

here is the link of like box plugin
http://developers.facebook.com/docs/reference/plugins/like-box/ 


My site is in PHP/My SQL
www.axis-holiday.com 

Please suggest
0
nitinkrjain
Asked:
nitinkrjain
1 Solution
 
kpmartinCommented:
Problem is <fb> tags are not valid so you need a workaround.  Here's a couple solutions:
http://www.liormark.com/develop/development-articles/facebook-fbml-w3c-validation-solved

http://www.jnorton.co.uk/blog/facebook-button-w3c-valid
enjoy!
0
 
Ray PaseurCommented:
Your DOCTYPE might be part of the issue.

<!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">

Instead of that, try the HTML5 declaration:

<!DOCTYPE html>
<html>
etc...
0
 
nitinkrjainAuthor Commented:
Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now