Re: To fix syntax errors of HTML files

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