Do you quote HTML5 attributes? [closed]

I’m in favour of always using quotes.

  • It looks way cleaner and more consistent

  • All editors can deal with it properly

  • It’s easier to maintain – you can edit values without breaking them because quotes are missing.

The few bytes you save in document size by dropping quotes where they are not needed are not worth mentioning (unless maybe you’re Google’s home page).

Leave a Comment