Forum Moderators: open
I have always double quoted my values when I code a page. For example:
<img src="image.gif" alt="Image" border="0" width="100" height="30">
After viewing some sites that don't use quotes (unless for instance, there is a space in the alt tag) I have wondered about removing the quotes from my sites (mainly for bandwidth saving). I have alway been taught to quote, either single or double. I double quote because of my ASP background as it is easier to tell the difference between ASP and HTML code. Why should you quote?
Chris.
Not really necessary unless you need strict HTML complience.
<added>You beat me andreasfriedrich!</added>
However, as a very minimum, all "50%" sizes, all URLs, all "#FFFFFF" colours, and attributes like type="text/javascript" and type="text/css" should be quoted.