checking for html5 attributes for newsletter validation