create element template: footer, htmlhead