added HTML for styling tables

added <thead> and <tbody> to table for easier styling of generated templates.
Merge pull request #3611 from MaziyarMK/patch-1

added HTML for styling tables