changed attributes to html5 style