function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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>