Wednesday, 20 January 2016

Sending Form Data to the Server

The method attribute can take one of two values, either get or post, corresponding to the HTTP methods used to send the form data. If the <form> element does not carry a method attribute, then by default the get method will be used. If you are using a file upload form control, you must choose the post method (and you must set the enctype attribute to have a value of multipart/form-data).

Related Posts:

  • Difference b/w HTML4 & HTML5 Read More
  • HTML5 - New Features Some of the most interesting new features in HTML5: —The <canvas> element for 2D drawing —The <video> and <audio> elements for me… Read More
  • New Elements in HTML5 ¢Several elements in HTML 4.01 are obsolete, never used, or not used the way they were intended. All those elements are removed or re-written in HTML… Read More
  • Introduction ¢The previous version of HTML, HTML 4.01, came in 1999. The web has changed a lot since then. ¢HTML5 is still a work in progress. However, the maj… Read More
  • Removed Elements The following HTML 4.01 elements are removed from HTML5: —<acronym> —<applet> (Defines an embedded applet) —<basefont> (Specifie… Read More

0 comments:

Post a Comment