First version of html_to_code