3 ms·
> "Self closing tags have no place in HTML." False. For void elements (like <br> <img>, etc) the "/" has no effect and is simply an accepted style that is full
by strictnein 12y ago
> "Self closing tags have no place in HTML."
False. For void elements (like <br> <img>, etc) the "/" has no effect and is simply an accepted style that is fully supported by the spec.
http://dev.w3.org/html5/spec-author-view/syntax.html#syntax-start-tag http://dev.w3.org/html5/spec-author-view/syntax.html#syntax-...
The idea that a different writing style in a programming is somehow invalid is nonsensical.
Also, have fun working with things like JSF and writing HTML5 without those self-closing tags.