Demo : Try clicks on the tab. with the selected tab highlighted. to an element inside the tab container: To highlight the current tab/page the user is on, use JavaScript