When clicking on tab A, show content for tab A. Click on tab B, show content for tab B, and so on.
What\'s the most simple and compatible way of constructing a HTML snip
The tabs widget in jQuery UI is easy to use: http://jqueryui.com/demos/tabs/.
The jQuery tabs widget works completely on the browser side - content for all tabs are sent on every request, or you could write JavaScript code that uses Ajax to load the tab contents dynamically.
But it might not be appropriate for your use. Consider if you need to control the tabs server-side (that is, a click on a tab sends a new page request to the server - the server constructs HTML that has the visual appearance of tabs).