Just create and save the page and you are done. the page will render automatically once you go to the page ...../apex/pagename
If you have custom controller than it goes through the initializing method, but if you are asking this question than custom controller is a little bit advanced.
ths is a sample Visualforce page to display: "congratuations" message.
thx.
<apex:page standardcontroller="contact" >
<!-- Begin Default Content REMOVE THIS -->
<h1>Congratulations</h1>
This is your new Page: ContactView
<!-- End Default Content REMOVE THIS -->
</apex:page>
Just create and save the page and you are done. the page will render automatically once you go to the page ...../apex/pagename
If you have custom controller than it goes through the initializing method, but if you are asking this question than custom controller is a little bit advanced.
See good introduciton link below:
https://developer.salesforce.com/page/An_Introduction_to_Visualforce
ths is a sample Visualforce page to display: "congratuations" message.
thx.