The 'type' attribute is optional in HTML5