HTML takes only a week to get the hang of it or less..but to really kno everything should be less then a month.
you can learn it from
http://www.w3schools.com/html/default.asp
really simple, and lays out the basics
for PHP it is a little bit harder..I suggest to go get a book form your local library or find a used one, and keep it as reference..I still use mine.
CSS is also another good thing to learn..goes hand in hand with HTML, rather than continually writing the same thing over and over again for the same style..learn HTML before you go to css