HTML: initialize template