Home | All Questions | alt.html FAQ > HTML Validation and Linting

Should HTML attributes be quoted?

HTML does not require the quotes unless there's a blank or slash in the value, but they don't hurt and they ARE required by XML (and XHTML), so why not just get into the habit of using them now?

Recommended Resources

Discussion

Related Questions