As mentioned by other members, there is no shortage of online tutorials and examples. Personally, I have found that the most effective way to learn is to just dive in and start making things. You can by a domain name and some cheap hosting to play around with for less than 100 dollars. There are tons of free development programs out there like aptana or netbeans. Check out resources like w3schools or just do a Google search for what you are trying to make and you will find hundreds of blogs and other websites that provide detailed tutorials on how to make websites, build contact forms, or do pretty much anything you want.