Hacker News new | comments | show | ask | jobs | submit login

If you like to keep it terse, it's perfectly fine not to quote attribute values. The HTML5 spec[1] says:

The attribute value can remain unquoted if it doesn't contain space characters or any of " ' ` = < >

[1] http://www.w3.org/TR/html5/introduction.html#a-quick-introdu...




This is also true for previous versions of HTML, as well as omitting some optional end tags.




Applications are open for YC Winter 2019

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: