There is a website that is starting to be very popular in term of coding languages, there are a few (HTML, CSS, Python, PHP, JQuery, JavaScript, Ruby). You have exercices and it really is user friendly if you are just getting started.
http://www.codecademy.com/learn
Have fun!