well how i learn is reading the code of other sites, some might argue tht this isent practical or anything. But it helps and thats what matters to me.
if i find something a site has done and cant think of how to make it, i re-create it and see if I can do it, and if i cant i always fall back on thier coding and see how they did it.
And also as Jim_ stated above learn basic html first.