h5bp / html5-boilerplate

A professional front-end template for building fast, robust, and adaptable web apps or sites.
https://html5boilerplate.com/
MIT License
56.39k stars 12.22k forks source link

defer vs defer="defer" #691

Closed meglio closed 13 years ago

meglio commented 13 years ago

Hello.

I'm using PHPTAL templating language in strict mode. This does mean that every attribute has to have value.

Does it make sense to "standartize" your template by having - eg full notation for defer attribute?

So far I just changed it manually for my project.

Regards, Anton

paulirish commented 13 years ago

browsers do not require the defer attribute to have a value. just the attribute name has to be there.

so we dont add the extra bytes.

i suppose its fine that you do, since PHPTAL is non-conformant to the HTML5 spec. :p

meglio commented 13 years ago

Thanks for your comments.