Is it correct to use single quotes for HTML attributes?

It’s certainly valid to use single quotes (HTML 4.01, section 3.2.2). I haven’t noticed such a trend, but perhaps there’s some framework that powers web sites you’ve visited that happens to quote using single quotes.

Leave a Comment