+ Start a Discussion
Ian Lin 20Ian Lin 20 

how to create a sample visualforce page

Khan AnasKhan Anas (Salesforce Developers) 
Hi Ian,

Greetings to you!

Follow these steps to create a Visualforce page in the Developer Console.
  • Open the Developer Console under Your Name or the quick access menu ().
  • The Developer Console opens in a new window.
  • Click File | New | Visualforce Page.
  • Enter HelloWorld for the name of the new page, and click OK.
  • A new, blank Visualforce page opens in the Developer Console.
  • In the editor, enter the following markup for the page.
    <h1>Hello World</h1> 
  • Click File | Save.
  • To see your new page, click Preview.

Please refer to the below links which might help you further.



I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Ajay K DubediAjay K Dubedi
Hi Ian,
1. On Developer Console Click File | New | Visualforce Page.
2. Enter Name of the page and click OK.
3. A new, blank Visualforce page opens.
4. In the editor, you can write
       <h1>My First VisualForce Page</h1> 
5.Click File | Save.
6.To see your new page, click Preview.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Ajay Dubedi