JavaScript tabs example

About JavaScript tabs

JavaScript tabs partition your Web page content into tabbed sections. Only one section at a time is visible.

The code is written in such a way that the page degrades gracefully in browsers that don't support JavaScript or CSS.

Advantages of tabs

JavaScript tabs are great if your Web page contains a large amount of content.

They're also good for things like multi-step Web forms.

Using tabs

Click a tab to view the tab's content. Using tabs couldn't be easier!

Return to the JavaScript Tabs article