Explain how each of the three wrap attribute values of text areas work.
What will be an ideal response?
With the wrap= "off" value, all the text is displayed on a single line, scrolling to the left if the text extends past the width of the box. Text goes to the next row in the box only if the Enter key is pressed. The text is sent to the CGI script in a single line. With the wrap= "soft" value, text wraps automatically to the next row when it extends beyond the width of the text box. The text is still sent to the CGI script in a single line without any information about how the text was wrapped within the text box. With the wrap= "hard" value, text wraps automatically to the next row when it extends beyond the width of the text box. When the text is sent to the CGI script, the line-wrapping information is included, allowing the CGI script to work with the text exactly as it appears in the text box.
You might also like to view...
Which of the following is not one of the disadvantages of using the “copy-and-paste” approach to duplicating code from one class into another class?
a. Errors are prone to be spread around. b. It is time consuming. c. It forces the system to store many physical copies of the code, creating a code-maintenance nightmare. d. All of the above are disadvantages of the “copy-and-paste” approach.
Answer the following statements true (T) or false (F)
1. The value of cboBox.Items(n) is the nth item in the combo box. 2. With a scroll bar control, the default values of the Minimum and Maximum properties are 1 and 100 respectively. 3. When the SizeMode property of a picture box control is set to StretchImage, a picture placed in the control will be resized to fit the picture control. 4. The main properties of a scroll bar are set in millimeters. 5. The size of a picture assigned to a picture box control is limited by the original size of the picture.
The __________ object passed to a mouse event handler contains information about the mouse event that was raised.
a) EventHandler b) MouseEventHandler c) MouseEvent d) EventArgs
Medium to large businesses, or those with large data-storage needs, are more likely to use Microsoft SQL Server or Oracle as their DBMS.
Answer the following statement true (T) or false (F)