Solved

W3C validation error in Facebook like box

Posted on 2011-09-15
3
1,496 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
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 109

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

809 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