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

we use double quotes for HTML and single quotes for JS. that makes it easy to embed HTML snippets in Js code and JS snippets in HTML attribute values without escaping.



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

Search: