One of the best ways to learn HTML and CSS is to get on Firefox and use the Firebug add-on to look at other people's code. You can easily see how they structure code and what CSS properties they use...