HTML form

A grid view, however, can be mimicked by using a standard HTML table with each cell containing a text input element.

HTML 4 introduced the

HTML 5 introduces a number of input tags that can be represented by other interface elements.

Another possible encoding, Internet media type multipart/form-data, is also available and is common for POST-based file submissions.

Server-side code can do a vast assortment of tasks to create dynamic web sites that, for technical or security reasons, client-side code cannot — from authenticating a login, to retrieving and storing data in a database, to spell checking, to sending e-mail.

In addition, processing forms on a server often results in increased security if server-side execution is designed not to trust the data supplied by the client and includes such techniques as HTML sanitization.

Here is a basic form handler PHP script that will display the contents of the first_name input field on the page: form.html form_handler.php The sample code above uses PHP's filter_input() function to sanitize the user's input before inserting it onto the page.

Perl scripts are traditionally used as Common Gateway Interface applications (CGIs).

CGIs may be written in other languages than Perl (compatibility with multiple languages is a design goal of the CGI protocol) and there are other ways to make Perl scripts interoperate with a web server than using CGI (such as FastCGI, Plack or Apache's mod_perl).

Today, this script is no longer widely used in new development due to lack of updates, security concerns, and difficulty of configuration.

Usually, these companies give some kind of visual editor, reporting tools and infrastructure to create and host the forms, that can be embedded into webpages.

test
Sample form. The form is enclosed in an HTML table for visual layout.
Registration form of PHP-based e-commerce web-shop software ZenCart