JSFiddle - React, Tailwind, and code Playground
by dmethvin
HTML
<input>
<input />
<input></input>
JavaScript
// #7726 (IE)
// http://www.w3.org/TR/html-markup/spec.html#void-element
// "Void elements only have a start tag;
// end tags must not be specified for void elements."
alert($(":input").length)