header.tpl and footer.tpl open and close the form, all the other components on the page make use of this form.