Solved

W3C validation error in Facebook like box

Posted on 2011-09-15
3
1,499 Views
Last Modified: 2012-08-13
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
Comment
Question by:nitinkrjain
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Accepted Solution

by:
kpmartin earned 500 total points
ID: 36543733
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
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 36544477
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
 
LVL 1

Author Closing Comment

by:nitinkrjain
ID: 36547709
Thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question