added tfoot, thead, and fixed embedded style