Solved

W3C validation error in Facebook like box

Posted on 2011-09-15
3
1,487 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
Comment Utility
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 108

Expert Comment

by:Ray Paseur
Comment Utility
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
Comment Utility
Thanks
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now