" vs '

Very general question- what is the difference between a double (") and single (') quotation mark in code, specifically HTML (because I’m super new to this and no nothing else)? Thank you!

Matter of preference, but that said, you’ll most likely find double quotes in HTML.

Rule of thumb would be to use double quotes and be consistent in their use.


Thank you, really appreciate the clarification!

1 Like