Quantcast
Channel: Single vs Double quotes (' vs ") - Stack Overflow
Viewing all articles
Browse latest Browse all 18

Single vs Double quotes (' vs ")

$
0
0

I've always used single quotes when writing my HTML by hand. I work with a lot of rendered HTML which always uses double quotes. This allows me to determine if the HTML was written by hand or generated. Is this a good idea?

What is the difference between the two? I know they both work and are supported by all modern browsers but is there a real difference where one is actually better than the other in different situations?


Viewing all articles
Browse latest Browse all 18

Latest Images

Trending Articles





Latest Images