- What is jQuery?
- Why should I use jQuery?
- Why would I want to hide the answers to my questions?
To make it easier to peruse the list of available questions - then you simply click to see the answer you're interested in reading.
- What if my answers were a lot longer and more complicated than these examples?
The great thing about the <dd> element is that it's a block level element that can contain lots of other elements.
That means your answer could contain:
- with lots
- of items
- (or ordered lists or even another definition list)
Or it might contain text with lots of special formatting.
It can even contain headings. Your answers could take up an entire screen or more all on their own - it doesn't matter since the answer will be hidden until the user wants to see it.
You might just leave the page as it is - and make sure the <dt> tags are styled in a way that makes them stand out and easy to pick up when you're scanning down through the page. This would be a great solution if your answers are relatively short.