Welcome to the forums!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
I suggest that you look around and find sites that do the things you want to do. Then look at the page code. Also, look at http://www.w3schools.com/
. You might also want to grab a few books on the topic, but those will cost you money and the online resources are free! There are tons more, those two just popped into my head.
If you have some code that you are working on, a page that you've created and you want it to do something it's not, give a link so we can take a look at what you've created so far. And post back with any questions.