Saturday, August 8, 2009

How do I add a form to my site?

I don%26#039;t want to use those free one wtih ads. I have my own website hosting domain and ftp server. But can someone provide me of putting a form on my site so that visitors can email me by filling out the forms? I was the store the form under my server.



Thanks!



How do I add a form to my site?





An HTML form is a section of a document containing normal content, markup, special elements called controls (checkboxes, radio buttons, menus, etc.), and labels on those controls. Users generally %26quot;complete%26quot; a form by modifying its controls (entering text, selecting menu items, etc.), before submitting the form to an agent for processing (e.g., to a Web server, to a mail server, etc.)



Here%26#039;s a simple form that includes labels, radio buttons, and push buttons (reset the form or submit it):



%26lt;FORM action=%26quot;http://somesite.com/prog/adduser... method=%26quot;post%26quot;%26gt;



%26lt;P%26gt;



%26lt;LABEL for=%26quot;firstname%26quot;%26gt;First name: %26lt;/LABEL%26gt;



%26lt;INPUT type=%26quot;text%26quot; id=%26quot;firstname%26quot;%26gt;%26lt;BR%26gt;



%26lt;LABEL for=%26quot;lastname%26quot;%26gt;Last name: %26lt;/LABEL%26gt;



%26lt;INPUT type=%26quot;text%26quot; id=%26quot;lastname%26quot;%26gt;%26lt;BR%26gt;



%26lt;LABEL for=%26quot;email%26quot;%26gt;email: %26lt;/LABEL%26gt;



%26lt;INPUT type=%26quot;text%26quot; id=%26quot;email%26quot;%26gt;%26lt;BR%26gt;



%26lt;INPUT type=%26quot;radio%26quot; name=%26quot;sex%26quot; value=%26quot;Male%26quot;%26gt; Male%26lt;BR%26gt;



%26lt;INPUT type=%26quot;radio%26quot; name=%26quot;sex%26quot; value=%26quot;Female%26quot;%26gt; Female%26lt;BR%26gt;



%26lt;INPUT type=%26quot;submit%26quot; value=%26quot;Send%26quot;%26gt; %26lt;INPUT type=%26quot;reset%26quot;%26gt;



%26lt;/P%26gt;



%26lt;/FORM%26gt;

No comments:

Post a Comment