support html5 element main