check html5 first