Samuel Fernandes Total Post:159 Points:1117 Posted by Samuel Fernandes May-16-2013 2:01 AM Facebook API Facebook API 1 Reply(s) 2287 View(s) Ratings: Rate this: Hi Expert! In my project I have added connect button code as follows. I have used HTML 5. <fb:login-button>Login with Facebook</fb:login-button> My doctype declaration us as follows. <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> When i use the above code i had a following error in w3 validator with HTML5. line 219 column 24 - Error: Element fb:login-button not allowed as child of element li in this context. (Suppressing further errors from this subtree. How to fix this error in HTML5. Thanks in advance.