Possible Duplicate:
When did single quotes in HTML become so popular?
Should I use '
or "
when coding, for example width='100px'
or width="100px"
. Is it only a matter of taste, or does it matter to the browsers?
The reason why I ask, I have always used ""
for everything, so when I code with PHP, I have to escape like this:
echo "<table width=\"100px\>"";
But I've found out that I will probably save 2 minutes per day if I do this:
echo "<table width='100px'>"
Fewer key strokes. Of course I could also do this:
echo '<table width="100px">'
What should the HTML look like; 'option1' or "option2"?