Top "W3c-validation" questions

You can use W3C validation services to check HTML documents, CSS stylesheets, Atom/RSS feeds, and more.

Are (non-void) self-closing tags valid in HTML5?

The W3C validator doesn't like self-closing tags (those that end with "/>") on non-void elements. (Void elements are those …

html syntax w3c-validation
div inside table

Can somebody tell me whether div inside a table is allowed or not according to w3c

html w3c-validation
"Attribute name not allowed on element div at this point"

I am getting a W3V validator error that I can't understand: Line 31, Column 61: Attribute name not allowed on element …

html w3c-validation
How to write W3C compliant multi-level bullet points in HTML?

Is it possible to write W3C compliant multi-level bullet points (unordered list) in HTML? Nested ul can be used, …

html w3c-validation html-lists
Google fonts URL break HTML5 Validation on w3.org

I load 3 fonts in different sizes using this HTML tag: <link rel="stylesheet" type="text/css" href="http://fonts.…

html w3c-validation google-font-api
How do I escape an ampersand in a javascript string so that the page will validate strict?

I am trying to pass a dataString to to an ajax call using JQuery. In the call, I construct the …

javascript jquery ajax w3c-validation
There is no attribute "allowtransparency"

I am looking for some alternate way to do: <iframe transparency=true ... When I do the W3C validation, …

html css w3c w3c-validation
Why can't a <button> element contain a <div>?

My company is building a website and we had some problems with a JavaScript library not replacing something. We decided …

html w3c-validation
What elements can a span tag contain in HTML5?

So I have been a CLI or Cron developer in PHP for most my career and now I am learning …

html w3c-validation web-standards