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

They are allowed due to the big push for XHTML in the past and making them invalid might cause problems for a ton of sites built that way.

However, the slash carries no meaning. It does nothing. And browsers are instructed to ignore it. If anything, it can only cause problems: https://github.com/validator/validator/wiki/Markup-%C2%BB-Vo...




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: