Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you are writing <p>something <div>like this</div><p> then your editor knows you are making a mistake and can highlight it.

If on the other hand you are not closing tags that autoclose, how can your editor tell you? There is no way to know it's not intended.



The editor could have a setting for that.

But mostly I meant that you don't have to close the autoclosing tags.




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

Search: