18.104.22.168 create forms for data entry using HTML tags
Веб-формы (Web forms)
A web form is a collection of objects that allows you to collect user data for processing.
Standard elements are used for data entry.
<form action="/action_page.php" method="post">
The action attribute defines the action to be performed when the form is submitted. In this case, the form data will be transferred by the post method to a file "action_page.php" for processing.
The method attribute specifies the HTTP method to be used when submitting the form data. The form-data can be sent as URL variables (with method="get") or as HTTP post transaction (with method="post").
Input Type Text
Full name: <input type="text" name="firstname" value="Input your full name">
The attribute name allows the content of the input to be identified as a variable when passing data for processing. The attribute value fills the element's default value with data. Usually used to prompt the user.
Input Type Submit
<input type="submit" value="Submit">
It defines a button for submitting form data to a form-handler.