write to html