Added support for void elements like <br>, <input> etc.