-
Book Overview & Buying
-
Table Of Contents
The JavaScript Workshop
By :
Forms are an integral part of the HTML specification and exist separately to the JavaScript engine, though they are also fully interactive with JavaScript. HTML forms are declarative structures are defined using the form tag. This tag outlines a context that can be submitted, and its data is sent to a remote server location.
To understand how the form tag works, it helps to understand HTTP requests, their type differentiation, and how data is sent within the request.
HTTP is a specification, the long form of which is HyperText Transfer Protocol. It was originally released as HTTP 1.0 in 1990 and detailed in the RFC 1945 specification (where 1945 is the specification number, not a year). This transport format was designed for the transfer of HyperText documents across the internet, such as HyperText Markup Language (HTML) documents.
Within the HTTP specification, numerous metadata is identified that can be sent with an HTTP request. This metadata...