HTML - Tags - <form>

#51 of 147

     <form action="SubscribeForm.aspx" method="post">
         <label for="id_name">Name</label>
         <input type="text" id="id_name" name="form_name">/input>
         <label for="id_email">Email</label>
         <input type="email" id="id_email" name="form_email">/input>
         <button type="submit">Subscribe</button>

The form element represents a collection of user editable form fields that can be sent to the web server for futher processing.

A live example:

N of

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath