Structured HTML5 conversion