The W3C validator (Wikipedia) shows a warning for self-closing tags (those that end with “/>”) on non-void elements. (Void elements are those that may not ever contain any content.) Are they still valid in HTML5? Some examples of accepted void elements: <br /> <img src="" /> <input type="text" name="username" /> Some examples of rejected non-void elements: <div id="myDiv" /> <span id="mySpan" /> <