I'm trying to validate my html code because my website looks wrong on mozilla firefox. So i used the validator but it keeps giving me the same error
"Attribute value not allowed on element img at this point."
<img src="images/loginbutton.png" value="Log in" id="loginbutton" alt="loginbutton"></a>
So i moved the alt but i still get the same error, if i remove it then i get two errors. What is the problem?