Need help in creating a registration form

Need help in creating a registration form

I want to create a registration form such that the form opens up on my website. The data has to be stored on my website and I want to send thank you mails to the registered people.