Appendix L (Crystaltech web hosting) Introduction to XHTML: Part 2 1463

Appendix L Introduction to XHTML: Part 2 1463 contains the name and path of the desired resource and the method of communication (called a protocol). XHTML documents use the HyperText Transfer Protocol (HTTP). Figure L.3 sends the form data to the Web server, which passes the form data to a CGI (Common Gateway Interface) script (i.e., a program) written in Perl, C or some other language. The script processes the data received from the Web server and typically returns information to the Web server. The Web server then sends the information in the form of an XHTML document to the Web browser. [Note: This example demonstrates client-side functionality. If the form is submitted (by clicking Submit Your Entries), an error occurs.] Forms can contain visual and non-visual components. Visual components include clickable buttons and other graphical user interface components with which users interact. Non-visual components, called hidden inputs, store any data that the document author specifies, such as e-mail addresses and XHTML document file names that act as links. The form begins on line 23 with the form element. Attribute method specifies how the form s data is sent to the Web server. 1 2 4 5 6 7 8 9 10 11 12 13 14 15

Feedback Form

16 17

Please fill out this form to help 18 us improve our site.

19 20 22 23

24 25

26 27 28 29 31 32 34 Fig. L.3 Fig. L.Fig..Fi L3g. L.3L.3Simple form with hidden fields and a textbox. (Part 1 of 2.) Fig.
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

Leave a Reply