www.w3schools.com is a good place to learn the basics. An easy way to learn also, is to just "view source" on others' web sites and just see how they were coded. I'd recommend using divs/css for your design rather than a bunch of nested tables, but to each their own
Do you have a screenshot of the template you'll need coded?