I am creating my first from-scratch website

and this is how I did it:
I inserted a table that had a width of 100%.
Then, within that table I inserted another table with a width of 900 and a center align.
All of my content went within the 2nd table.
I'm sure that there is probably an easier way to do it, but that's how my other site did it and I'm already a bit freaked about doing this website so I didn't really want to learn much.