Subscribe Form and W3c errors
-
Hello,
(sorry my english is bad ?? )
I have a problem with W3c Validator for the Subscribe Form of Mailchimp.
I have try to do some thing, after some research on google, but without success……
The code is :
<p>
<label>Email Address:</label>
<input required=”required” placeholder=”Seu email ” name=”EMAIL” type=”email”>
</p>
<p>
<label>First Name:</label>
<input placeholder=”Seu nome” name=”FNAME” type=”text”>
</p>
<p>
<input value=”Subscribe” type=”submit”>
</p>And W3c find 2 errors :
Attribute required is only allowed when the input type is checkbox, date, datetime, datetime-local, e-mail, file, month, number, password, radio, search, tel, text, time, url, or week.
… <input required=”required” placeholder=”Seu email ” name=”EMAIL” type=”email”>
And
Attribute placeholder is only allowed when the input type is e-mail, number, password, search, tel, text, or url.
… <input required=”required” placeholder=”Seu email ” name=”EMAIL” type=”email”>
- The topic ‘Subscribe Form and W3c errors’ is closed to new replies.