When I want to play with the html, I go to a html tutorial website and look around. There are a bunch out there. This link has a dropdown example. I always work in a new page with no other content on it when experimenting, so I don't lose my other work.
Personally, I like using tables with links in them for organizing my courses. That's another option.