Describe the
element and the attributes associated with it.

What will be an ideal response?


The element is the container for creating a form, as the

element is the container for the elements that create a table. A form has a number of attributes that describe how the form data is handled. They are as follows:

action: The URL of the application that processes the form data; this URL points to a script file or an e-mail address.

enctype: The content type used to submit the form to the server (when the value of the method is "post"); most forms do not need this attribute.

method: Specifies the HTTP method used to submit the form data; the default value is "get".
            • get: The form data is appended to the URL specified in the action attribute
            • post: The form data is sent to the server as a separate message

accept: A comma-separated list of content types that a server processing this form can handle correctly; most forms do not need this attribute.

accept-charset: A list of allowed character sets for input data that is accepted by the server processing this form; most forms do not need this attribute.

The element by itself does not create a form. It must contain form controls (such as elements) and structural elements such as

or

    to control the look of the form.

    Computer Science & Information Technology

    You might also like to view...

    Which of the following statements is false?

    a. All exceptions must derive from the class Throwable. b. The class Throwable provides the method getStackTrace that outputs the stack trace to the standard error stream. c. The class Throwable provides the method getMessage that returns the descriptive string stored in an exception. d. The string returned from class Throwable’s getMessage method contains the name of the exception’s class.

    Computer Science & Information Technology

    Suppose you are considering the best way to present a round-table discussion of students discussing their reasons for choosing their majors. You know that your users are accessing the Web using a 56Kbps modem. You are considering the following possibilities: i. Four images each having a resolution of 400x600 and a file size of 250 KB each plus four audio clips that are 160 KB each. Each audio file is 20 seconds long. ii. Four video clips having a resolution of 160x120 and a file size of 375 KB

    a. For each of these possibilities, what is the overall download time? Since your users are accessing the Web with a 56Kbps modem, use the estimate of 3 minutes per megabyte. b. What is the difference in download times? Give the answer in minutes. Which possibility has the faster download time? c. It’s always important to consider download time when choosing a multimedia presentation. In this case, it’s probably better to choose the possibility that has the slower download time. Why?

    Computer Science & Information Technology

    Analyze the following code:

    ``` public class Test { public static void main(String[] args) { int[] a = new int[4]; a[1] = 1; a = new int[2]; System.out.println("a[1] is " + a[1]); } } ``` a. The program has a compile error because new int[2] is assigned to a. b. The program has a runtime error because a[1] is not initialized. c. The program displays a[1] is 0. d. The program displays a[1] is 1.

    Computer Science & Information Technology

    A(n) ____________________ object is an object that can be positioned at a specific location in a document or in a layer over or behind text in a document.

    Fill in the blank(s) with the appropriate word(s).

    Computer Science & Information Technology