Let's talk about />: <input type="text" /> <br /> <img src="…" />You'll see this syntax on my blog because it's what Prettier does, and I really like Prettier. However, I don't think /> is a good thing. First up: The facts Enter XHTML Back in the late 90s and early 2000s, the W3C had a real thing for XML, and thought that it should replace HTML syntax. There were good reasons for this. At the time
![The case against self-closing tags in HTML](https://cdn-ak-scissors.b.st-hatena.com/image/square/d342c97fa4f1fef0c1bd3d9857a2c2313da5b56c/height=288;version=1;width=512/https%3A%2F%2Fjakearchibald.com%2Fc%2Fimg-4ef0dd99.png)