Altered code to pass W3C Markup Validation Service

now successfully checked as HTML5