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

I hate to be That Guy, but HTML Tidy tells me his page has 26 errors, mostly related to proper nesting of elements. It's just too easy to make sure your HTML is valid to let his "Attention to Detail" commitment slide.



True, on the other hand, including a doctype still makes sense to avoid quirks mode. (There'd be less errors if he'd use html5 doctype though.) And as long as it renders properly in A-grade browsers you're good to go.


That's true right up until it isn't, i.e. when you're struggling to understand why your javascript is producing subtly buggy behaviour.



I know what i.e. means. The benefit to valid markup is specifically for ensuring that the javascript you write to manipulate the DOM works properly.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: