I recommend using
http://www.w3schools.com/ to find HTML solutions. It's a very informative site, and it lets you try the code. This code should get you what you want.
Entirely disagree, it's one of the worst resources available for help. Many of it's examples use bad styles or simply incorrect, whilst most of it's information is brief, missing or just plain wrong. The lack of information is my main issue with the site, whilst
W3Fools has lots more examples.
Personally I'd recommend
Mozilla instead, but I mainly use that for reference rather then learning. There are plenty of excellent alternatives out there.