College of the Management, Economics and Information Technology s2

Total Page:16

File Type:pdf, Size:1020Kb

College of the Management, Economics and Information Technology s2

College of the management, economics and information technology Department of Information systems Fall Semester, academic Year 2015/2016 INTERNET TECHNOLOGY LAB Lab 04: Rowspan, Colspan and Form Introduction

Define the commands that we will use them in our code: Command Description / the output

To merge rows / two rows will be merged To merge cols / two cols will be merged

Create a form, where method = "post" appends form data to the browser request, which contains the protocol (HTTP) and the requested resource’s URL. This method of passing data to the server is transparent—the user doesn’t see the data after the form is submitted. The other possible value, method = "get", appends the form data directly to the end of the URL of the script, where it is visible in the browser’s Address field. Action=” ”: specifies the URL of a script on the web server that will be invoked to process the form’s data. Since we haven’t introduced server-side programming yet, we leave this attribute empty for now. script that processes the form. An input’s type is determined by its type If the attribute is hidden it should be like the attribute following : Type can be as follow: 1- “checkbox” to create a checkbox element 3- "submit" : to create a submit button, to submit the forms data to the webserver. 4- “reset”: to rest the form elements to the default status. 5- “hidden”: to create a hidden elements

7

Things you liked:

value = "Design" />

value = "Links" />

value = "Ease" />

value = "Images" />

value = "Code" />

How did you get to our site?:

value = "link" />

value = "deitel.com" />

8

9 The result will be as follow:

10 Post-Lab:

1. How to do the following function using the xHTML language a. Merging the rows in the table b. Merging the columns in the table c. Creating the hidden input in the form d. Create the submit button to the form e. Creating the rest button in the form f. Creating the textbox in the form g. Creating the areatext h. Creating a radio element in the form i. Creating the drop list element. j. Creating the label

2. Why xHTML uses the hidden elements in the webpage. 3. What is the job of the rest button in the form? 4. What is the job of the submit button in the form?

5. Mention the job of the following tags.

6.

value = "Design" />


7. What is the output of the following codes? Explain your answer. Code1:

11 12 Code2:

13 4. Write a code that gives you the output as in the figure below, you can use any image inside your computer.

References: 1- Internet and World Wide Web How to Program: 4/e.

14

Recommended publications