A Visualforce page for displaying records can be created as follows:
Create a new Visualforce page in the Salesforce setup and give it a name, e.g. “DisplayRecordPage“.
Add the following code to the Visualforce page:
Note: Replace [ObjectName] with the actual name of the object you want to display records for, and Field1__c and Field2__c with the actual field names of the object.
This will create a Visualforce page that displays the details of a specific record for the specified object, with fields specified using apex:outputField.
The values of the fields will be read-only and cannot be edited.