forum

Home / DeveloperSection / Forums / How to fix the facebook login button w3 validator error

How to fix the facebook login button w3 validator error

Samuel Fernandes294216-May-2013
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.

Updated on 16-May-2013

Can you answer this question?


Answer

1 Answers

Liked By