It's all about optimization

2.3 Remove quotation marks from element attributes

XHTML requires that element attributes be enclosed by double-quotes. Plain HTML does not! you can omit quotation marks around element attributes, as long as the attribute does not contain a space. For example:

Consider the following HTML:

<img src="myimage.jpg" width="15" />

Removing the quotation marks saves 4 characters.

<img src=myimage.jpg width=15 />

But you can't do this:

<img src=myimage.jpg alt=picture of a ladybug />

The "ALT" tag needs the quotation marks, so that the HTML parser doesn't interpret "of" and "a" and "ladybug" as attributes of IMG. Here is the corrected version:

<img src=myimage.jpg alt="picture of a ladybug" />