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.
<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.