TabStrip Overview

The TabStrip displays a collection of tabs with associated content.

It is composed of an unordered list of items which represent tabs, and a collection of div elements, which contain the content for each tab.

Kendo UI for jQuery Kendoka image

The TabStrip is part of Kendo UI for jQuery, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Initializing the TabStrip

To initialize the TabStrip, use either of the following approaches:

  • When you initialize the TabStrip, create it within a $(document).ready() statement because the widget has to be initialized after the DOM is fully loaded.
  • It is not mandatory for the tabs to have content. Therefore, when you create an empty tab, you can skip its associated div element.


The following example demonstrates how to initialize the TabStrip from HTML markup.

<div id="tabstrip">
        <li>First tab</li>
        <li>Second tab</li>
    <div>First tab content</div>
    <div>Second tab content</div>

    $(document).ready(function() {


The following example demonstrates how to initialize the TabStrip from a JSON data object.

<div id="tabstrip"></div>

  $(document).ready(function() {
      dataTextField: "text",
      dataContentField: "content",
      dataUrlField: "url",
      dataImageUrlField: "imageUrl",
      dataSpriteCssClass: "spriteCssClass",
      dataContentUrlField: "contentUrl",
        text: "Item 1",
        url: ""               // (Optional) Link URL if navigation is needed
         text: "Item 2",
         content: "text"                             // Content for the content element
         text: "Item 3",
         contentUrl: "partialContent.html"           // From where to load the item content
         text: "Item 4",
         imageUrl: "" // (Optional) Item image URL
         text: "Item 5",
         spriteCssClass: "imageClass3"               // (Optional) Item image sprite CSS class

Functionality and Features


For a complete example on the basic TabStrip events, refer to the demo on using the events of the TabStrip.

See Also

In this article