{"id":9683,"date":"2020-11-24T13:06:48","date_gmt":"2020-11-24T18:06:48","guid":{"rendered":"https:\/\/www.med.unc.edu\/webguide\/?page_id=9683"},"modified":"2025-02-04T14:26:06","modified_gmt":"2025-02-04T19:26:06","slug":"tabs","status":"publish","type":"page","link":"https:\/\/www.med.unc.edu\/webguide\/userguide\/styling-content\/tabs\/","title":{"rendered":"Tabs"},"content":{"rendered":"
Tabs can be added to a page to selectively show and hide content. Here is a simple example of what tabs look like:<\/p>\n\n
There are some concerns when using tabs:<\/p>\n
Did you know that holding down the Control<\/strong> key on your keyboard and hitting the F<\/strong> key (CTRL + F<\/strong> on Windows and Command + F<\/strong> 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.<\/p>\n<\/div>\n The Department of Psychiatry homepage<\/a> uses tabs to display their social media.<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" Tabs can be added to a page to selectively show and hide content. Here is a simple example of what tabs look like: Issues With Tabs There are some concerns when using tabs: Some site visitors might overlook the fact that there are tabs on the page and won’t see the content they contain. Most … Read more<\/a><\/p>\n","protected":false},"author":89184,"featured_media":0,"parent":2212,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"layout":"","cellInformation":"","apiCallInformation":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-9683","page","type-page","status-publish","hentry","odd"],"acf":[],"_links_to":[],"_links_to_target":[],"_links":{"self":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/9683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/users\/89184"}],"replies":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/comments?post=9683"}],"version-history":[{"count":39,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/9683\/revisions"}],"predecessor-version":[{"id":13822,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/9683\/revisions\/13822"}],"up":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/2212"}],"wp:attachment":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/media?parent=9683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}How to Add Tabs<\/h2>\n
\n
\n<\/li>\n
<\/li>\n
[tabs class=\"yourcustomclass\"]\n[tab title=\"Tab number 1\" active=\"active\"]Tab 1 Content Goes Here.[\/tab]\n[tab title=\"Tab number 2\"]Tab 2 Content Goes Here.[\/tab]\n[tab title=\"Tab number 3\"]Tab 3 Content Goes Here.[\/tab]\n[tab title=\"Tab number 4\"]Tab 4 Content Goes Here.[\/tab]\n[\/tabs]<\/code><\/li>\n
[tab title=\"Tab number 2<\/strong>\"]Tab 2 Content Goes Here.[\/tab]<\/code><\/li>\n
[tab title=\"Tab number 2\"]Tab 2 Content Goes Here.<\/strong>[\/tab]<\/code><\/li>\n
[tab title=\"Tab number 4\"]Tab 4 Content Goes Here.[\/tab]<\/code><\/li>\n<\/ol>\n
Examples<\/h2>\n
Department of Psychiatry<\/h3>\n
<\/a><\/span><\/p>\n