Added support for HTML5 syntax.