Skip to main content

Tabs can be added to a page to selectively show and hide content. Here is a simple example of what tabs look like:

Tab 1 Content Goes Here.
Hello everyone!
How are you?
More information goes here.

Issues With Tabs

There are some concerns when using tabs:

  1. Some site visitors might overlook the fact that there are tabs on the page and won’t see the content they contain.
  2. Most site visitors don’t like to hunt for the content they are looking for. They also want to find the information with the fewest amount of clicks. With tabs however, you are hiding content and causing site visitors to click through all the tabs to find information.
  3. If someone was to print a web page with tabs on it, only the content of the active/visible tab would print. If you had important information in tabs that someone needed to print, they would need to print the page for each tab.
  4. Likewise, if someone was to search your web page, it would only search the active/visible tab.
TIP

Did you know that holding down the Control key on your keyboard and hitting the F key (CTRL + F on Windows and Command + F on Mac) allows you to find (search for) a word or phrase on a web page? This keyboard shortcut can be very useful and works in many programs such as web browsers, Word document, and PDFs.

How to Add Tabs

  1. Place your cursor where you want the tabs to display on the page.
  2. Select Tabs from the EBS dropdown menu under Interactive.
  3. If you don’t see the EBS plugin button, (as shown in the example above), click the Toolbar Toggle button. The Toolbar Toggle button shows and hides a collection of buttons in the editor.Toolbar Toggle button
  4. Shortcode will be added to the page that will create 4 tabs. The shortcode will look like this:[tabs class="yourcustomclass"] [tab title="Tab number 1" active="active"]Tab 1 Content Goes Here.[/tab] [tab title="Tab number 2"]Tab 2 Content Goes Here.[/tab] [tab title="Tab number 3"]Tab 3 Content Goes Here.[/tab] [tab title="Tab number 4"]Tab 4 Content Goes Here.[/tab] [/tabs]
  5. Add a title to each tab by replacing Tab number # in the shortcode. Don’t remove the quotes. Simply edit the content within the quotes.[tab title="Tab number 2"]Tab 2 Content Goes Here.[/tab]
  6. Add content to each tab by replacing Tab # Content Goes Here.[tab title="Tab number 2"]Tab 2 Content Goes Here.[/tab]
  7. The shortcode automatically creates 4 tabs, but you can add or remove tabs as needed. Simply add or delete whole tab sections.[tab title="Tab number 4"]Tab 4 Content Goes Here.[/tab]

Examples

Department of Psychiatry

Example of tabs being used on the Department of Psychiatry website.

The Department of Psychiatry homepage uses tabs to display their social media.


Fellowship in Urogynecology

Example of tabs on the Urogynecology page

The Fellowship in Urogynecology page shows an example of tabs.