write head_html content to print template document head