Changed code to match the HTML5 standards