A DOM constructor that works like HTML.