+ Start a Discussion
CBBsfdcCBBsfdc 

Develop a Visualforce Page to display objects in different tab. Please refer below

User-added image
PrasathPrasath
Hi,

Use the below code for your requirement,
 
<!-- Page: -->
<apex:page id="thePage">
    <apex:tabPanel switchType="client" selectedTab="tabOne" id="theTabPanel">
        <apex:tab label="Account" name="tabOne" id="tabOne">
            <!--
			Code to display the Account Details
			-->
        </apex:tab>
        <apex:tab label="Contact" name="tabTwo" id="tabTwo">
            <!--
			Code to display the Contact Details
			-->
        </apex:tab>
    </apex:tabPanel>
</apex:page>