O'Reilly logo

D Web Development by Kai Nacke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a template with a simple form

Let's start with a web page to create a note. A simple design is as follows:

Creating a template with a simple form

In HTML, there are two ways to submit a form: POST and GET. The difference is the way how the parameters are transferred to the server. In both cases, the browser issues an HTTP request. If you use the POST method, then the browser sends an HTTP request with the POST request method token to the server. The values of the form fields are transmitted in the request body. With the GET method, the browser sends a HTTP request with the GET request method token to the server. The values of the form fields are appended to the URL after a question ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required