Have you got a MySQL database set up? If you have I can write you the code. If not then you'll have to use something like this http://www.aweber.com/web-forms.htm to collect information from HTML forms.
The most you can do with plain HTML is start an email client with an email ready to go. <form method="post" action="mailto:you@example.com"> Enter your email: <input type="text" name="email" /> <input type="submit" value="Submit" /> </form> Code (markup): To avoid that extra step, you need an email script.