checks content type for html or xhtml now