Added html5 conditions