/late reply.
Anyway, I recommend reading up HTML and CSS tutorials on
w3schools. The site has a lot of info on codes and where to use them. After that, try and mess about with codes and implement them in different ways. That's pretty much the way I learned.