The basic setup is a ul with a specific ID - IT HAS TO BE AN ID - You don't want two tabs duplicating - If you do. your not so good at this stuff -- anyway, then your li tags and then your q tags.
After that long sentence it is important that you understand, everything not in that q tag will be the tag title, while everything inside of it will be the content. Don't use q tags in your actual content other than to wrap it because it is a) bad practice anyway and b) it won't even show up. That may change in later versions but its not a really good idea.