📝 The case against self-closing tags in HTML

At best, they're a relic from the past, and at worst, they're actively misleading.

jakearchibald.com/2023/against

Follow

@jaffathecake Having started coding in the early 2000s, I use self-closing syntax like dogma.
But I hadn't realized just how pointless and unsupported it had gotten... Do browsers even use it as a hint to behaviour with HTML5 or do they just discard it entirely as meaningless?

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.