Since both are acceptable for HTML, as well as for languages ββlike ASP.NET and PHP when using attributes or strings, why do some people use single quotes and double quotes interchangeably?
I understand that it is syntactically correct to use double quotes, wherever possible, single quotes when you need to embed a double quote for inline logic.
Is there something I am missing?
Examples:
HTML
<a href='http://google.com'>Google</a>
Php
<? echo 'Hello World!'; ?>
ASP.NET
<form id='myForm' runat='server'></form>
Benny source
share