W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2009

Re: To fix syntax errors of HTML files

From: David Dorward <david@dorward.me.uk>
Date: Wed, 04 Feb 2009 23:40:04 +0000
Message-ID: <498A2754.4020903@dorward.me.uk>
To: css-validator <www-validator-css@w3.org>

olivier Thereaux wrote:

>> -<meta http-equiv="Content-Script-Type"
>> content="text/javascript" /> is required.
> As far as I know those are SHOULDs, not requirements. And since the
> markup used specifies type="" in attributes for <style> and <script> I
> think we're fine.

It only applies to intrinsic event attributes, such as onclick.

>> -width and height is required for <img>.
> Could you give details as to where and why?

They aren't, but they are recommended so browsers can put placeholders
in while downloading images - this avoids reflow issues.

>> -<p></p> is not recommended.
> Ditto. Could you give details as to where and why?

Can "nothing" be considered a paragraph?

David Dorward                               <http://dorward.me.uk/>
Received on Wednesday, 4 February 2009 23:41:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:03 UTC