view examples and demo  jQuery UI Tabs - Simple demo Close

First tab is active by default

Second tab is active


Alternative ways to specify the active tab will overrule this argument, listed in the order of their precedence:


  1. If a fragment identifier (hash) in the URL of the page refers to the id of a tab panel of a tab interface the corresponding tab will become the initial tab.
  2. Same if you use the cookie option to save the latest selected tab in.
  3. Last not least you can set the selected tab by attaching the selected tab class class (default: "ui-tabs-selected") to one of the li elements representing a single tab.


Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Change skin: