Skip to main content
9 votes

Is it valid to have multiple form input elements with the same name?

HTML5 The non-normative section 4.10.1.3 Configuring a form to communicate with a server explicitly says that it is valid: Multiple controls can have the same name; for example, here we give all ...
Ciro Santilli OurBigBook.com's user avatar
3 votes

Name attribute is obsolete, what is the correct behavior when dealing with anchors?

For HTML5, name attribute is now deprecated, so that means to use id in place of name. Otherwise, everything else is the same. <a> is NOT deprecated.
Sean Tank Garvey's user avatar
3 votes
Accepted

W3C Validator: Attribute “controlslist” not allowed on element “audio” at this point

Because there is no controlslist attribute on the audio element in the current official HTML5 standard. FWIW I can't find any mention of a controlslist attribute on the audio element. The linked ...
MrWhite's user avatar
  • 42.9k
2 votes
Accepted

<meta> for RDFa: "Attribute 'src' not allowed on element 'meta' at this point."

The meta element can’t have a src attribute, and if it appears in the body, it must have a content attribute. If the value is a URL, you must use the link element instead of the meta element: <...
unor's user avatar
  • 21.8k
2 votes

Can I use <icon> element in HTML5? It fails the W3C validator

Two things: Include a reference link in your <head></head> the same way you would link your CSS file: <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+...
elbrant's user avatar
  • 890
2 votes

Should I ignore W3 CSS Validation Service?

W3C errors (css or html) increase the chances of your site not rendering correctly across all devices. You should worry about the css errors and get them fixed. There is an awesome W3C Validator ...
Andy Muns's user avatar
  • 110
2 votes

why and where should i write strict code like xhtml

Please, check Joey's answer on this: If your HTML is going to be regularly processed by automated tools instead of being read by humans, then you might want to use XHTML because of its more ...
ribluc's user avatar
  • 124
2 votes
Accepted

itemprop for canonical link and meta description in the head

The example is invalid HTML+Microdata. It is not allowed to have the itemprop attribute on meta[name] or link[rel] elements. The solution for HTML+Microdata would be to duplicate the elements: <...
unor's user avatar
  • 21.8k
1 vote

Is it valid to have multiple form input elements with the same name?

Yes the markup <form> <input name="email"> <input name="email"> <input name="email"> </form> is valid: in fact it is possible and it is OK ...
willy wonka's user avatar
1 vote

W3C validation error: aria-controls attribute must point to an element in the same document

I was able to solve this issue by replacing the aria-controls value with the id of the nav element. Works and passes validation.
Ryan Stacy's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible