tracknut
08-25-2009, 11:30 AM
I think it's legal to skip quotes in a lot of places where it's common to use them. For example,
<div id="article">
seems to be the norm, but could also be written:
<div id=article>
Correct, yes? In many cases, the extra quotes here and there aren't worth arguing about, but in a case where you have html being generated by a script, say php cranking through a database displaying a table, you may have a ton of quotes used in this manner that could be skipped.
Is there any downside to not including these quotes?
Thanks
Dave
<div id="article">
seems to be the norm, but could also be written:
<div id=article>
Correct, yes? In many cases, the extra quotes here and there aren't worth arguing about, but in a case where you have html being generated by a script, say php cranking through a database displaying a table, you may have a ton of quotes used in this manner that could be skipped.
Is there any downside to not including these quotes?
Thanks
Dave