Resolve HTML5 errors