I have created two pages. One for "Homepage" and another for "Contact". The Contact form is on Contact Page.
The contact form is loaded by Ajax. So when you are on homepage and click on Contact link, than it loads Contact page in a DIV. I am using jQuery Ajax's load() function to load some contents only.