Page 138 - Viva ICSE Computer Studies 7 : E-book
P. 138
Rowspan
The rowspan attribute specifi es the number of rows of the table the text should cover or occupy.
Syntax: <TD rowspan=”3”>
Forms in HTML
Designing forms is a method of creating user-friendly Think and Discuss
and interactive web page in HTML. Forms are used to
How can we set the background
accept input from the user. They not only aff ect the colour for the table, row and cell?
display but also allow the reader to send information
back to the server. No user interaction was possible before the introduction of forms. Forms
are used commercially for accepting orders from customers or for taking feedbacks. The form
controls that you create on a web page are displayed in a browser and can be used by the
Internet user to enter data. A form includes checkboxes, radio buttons, lists, etc.
Creating Forms
The <FORM> tag is used to defi ne a form. The <INPUT> tag allows the user to enter information
in a form using text fi elds, drop-down menus, radio buttons and checkboxes.
Syntax: <HTML>
<BODY>
<FORM>
Form elements
</FORM>
</BODY>
</HTML>
Input Elements
The input elements are used to accept inputs from the user. There are multiple input elements
such as textbox, checkbox, radio button and password box. Besides these elements, there are
other elements like buttons, text area and drop-down list.
126