W3C home > Mailing lists > Public > www-validator@w3.org > November 2010

Validation errors using FaceBook's LIKE and COMMENT plugins

From: V <victorepand@gmail.com>
Date: Tue, 9 Nov 2010 07:05:32 +0530
Message-ID: <1899DB556B294E699F7210BE42BFA5BF@Xeon>
To: <www-validator@w3.org>
My site is using the following headers:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

and I have included the FaceBook LIKE and COMMENT plugins with XFBML. When I perform an HTML validation here:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.suitsties.info%2Fproducts%2F62%2Ffrench-cuff-dress-shirt.html&charset=%28detect+automatically%29&doctype=Inline&group=1&accept=*%2F*&accept-language=en-us&user-agent=W3C_Validator%2F1.1

I get Validation Output: 7 Errors, and all 7 errors are related to the FaceBook LIKE and COMMENT tags.

element "FB:LIKE" undefined 
element "FB:COMMENTS" undefined 
and all attributes inside the FB tags get: there is no attribute X

How do I change my headers so that these elements are defined and my page can validate with no errors?

URL of page:
http://www.suitsties.info/products/62/french-cuff-dress-shirt.html
Received on Tuesday, 9 November 2010 10:53:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:44 GMT