Use DOM instead of HTML.