Hosting Solutions
mobile_logo Table of Contents


The <form> element is used to create forms and serves as the parent element for all of your form components. Parsing the data that is submitted requires a server side technology like PHP which has the built in mail() function.

Code Example

<form action="contact_parse.php" name="myForm" method="post"> <p>Your Name: <input type="text" name="senderName"></p> <p>Your Email: <input type="text" name="senderEmail"></p> <p>Your Message:<br><textarea name="senderMsg" cols="24" rows="4"></textarea></p> <input name="Submit" type="submit" value="Submit Information"> </form> open in code editor


globals - the global attributes common to all elements possible values: see global attribute list accept-charset - specify character encodings for the form submission possible values: "space separated set of encoding tokens" action - specify the parsing file for the form data when it is submit possible values: "path/to/parser" autocomplete - toggle the browser ability to store and pre-fill form fields possible values: "on", "off" enctype - specify the data encoding type for the form submission possible values: "text/plain", "multipart/form-data", "application/x-www-form-urlencoded" method - specify the HTTP method for the form data possible values: "get", "post", "dialog" name - specify the name of the form element possible values: "specify name" novalidate - specify that the form is not meant to be validated when submit possible values: value not required target - specify the browser window target for the form submission possible values: "_blank", "_self", "_parent", "_top"

Official Documentation



aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr