1426 Introduction to HyperText Markup Language 4: (Web hosting directory) Part

1426 Introduction to HyperText Markup Language 4: Part 2 Appendix J A Web server is a machine that runs a software package like Apache or IIS; servers are designed to handle browser requests. When a user uses a browser to request a page or file somewhere on the server, the server processes this request and returns an answer to the browser. The action attribute in the formtag is the path to a script that processes the form data. The input element is common in forms and always requires the type attribute. Two other attributes are name, which provides a unique identification for the input, and value, which indicates the value that the inputelement sends to the server upon submission. The input type=”text” inserts a one-line text bar into the form. The value of this input element and the information that the server sends to you from this input is the text that the user types into the bar. The sizeattribute determines the width of the text input, measured in characters. You can also set a maximum number of characters that the text input will accept by inserting the maxlength=”length” attribute. You must make sure to include a label element for each form element to indicate the function of the element. The type=”submit”input element places a button in the form that submits data to the server when clicked. The value attribute of the submitinput changes the text displayed on the button. The type=”reset” input element places a button on the form that, when clicked, will clear all entries the user has entered into the form. The textarea element inserts a box into the form. You specify the size of the box (which is scrollable) inside the opening