We enforce double quotes for html attributes, mainly because we enforce single quotes for PHP so when you're writing mixed HTML/PHP in the view scripts we don't need to escape any of them. Single quotes for javascript would allow for the same, though we also have a strict no inline javascript policy as well.
Mainly our rationale is, pick one and be consistent. Single quotes where there first so they win, same deal with indentation amount.
Mainly our rationale is, pick one and be consistent. Single quotes where there first so they win, same deal with indentation amount.