Web Technologies Lab Exercise 1
Exercise 1 HTML
I. Level – 1 HTML
Refer: Unit 2 of Web Technologies Theory SLM To perform
these set of practical exercises use the following
i) Text Editor – such as Notepad/WordPad to write the code
ii) Web Browser – To display the output
a) Create a simple HTML document.
b) Create a HTML document that will contain an image of width="104"
height="142”.
c) Write HTML code to create a table of two rows and two columns with
thick border.
d) Write the HTML code to create a frameset of three columns.
Manipal University Jaipur B2107 Page No.: 1
Web Technologies Lab Exercise 2
Exercise 2 DHTML
II. Level – 2 DHTML
Refer: Unit 3 of Web Technologies Theory SLM To perform
these set of practical exercises use the following
i) Text Editor - Notepad/WordPad to write the code
ii) Web Browser: To display the output
a) DHTML program to handle onclick event.
b) DHTML program to handle onload, onunload event.
c) Write CSS code to change the style of HTML document.
d) Write a JavaScript program showing the use of navigator object.
Manipal University Jaipur B2107 Page No.: 2
Web Technologies Lab Exercise 3
Exercise 3 XML
III. Level – 3 XML
Refer: Unit 4, Unit 5, Unit 6, and Unit 7 of Web Technologies Theory
SLM
To perform these set of practical exercises use the following
i) Text Editor Notepad/WordPad to write the code
ii) Web Server: To get the response to host the XMLHttpRequest
iii) Web Browser: To display the output
a) Write the code for XML structure program.
b) Write XML code to demonstrate the elements of Text formatting.
c) Write a XSLT code that translate XML document into HTML document.
d) Write a program to display XML files.
e) Write a JavaScript program to handle onmouseover and onmouseout
event.
f) Write a program to create XMLHttpRequest Object.
Manipal University Jaipur B2107 Page No.: 3
Web Technologies Lab Exercise 4
Exercise 4 AJAX
IV. Level – 4 AJAX
Refer: Unit 9, Unit 10 of Web Technologies Theory SLM
To perform these set of practical exercises use the following:
i) Text Editor Notepad/WordPad: To write the code
ii) Web Server : To get the response
iii) Web Browser: To display the output
V. Write a program to create XMLHttpRequest object to get the data from
server using getData() function and store on variable object and display the
data using form.
VI. Write a program to create AJAX Server Page that runs an SQL query
and dispalys the result as an XML document.
Manipal University Jaipur B2107 Page No.: 4
Web Technologies Lab Exercise 5
Exercise 5 PHP
V. Level – 5 PHP
Refer: Unit 11 of Web Technologies Theory SLM To
perform these set of practical exercises use the following
i) Text Editor such as Notepad/WordPad to write the code
ii) Web Server: To get the response to host POST function
iii) Web Browser: To show the output
a) Write a PHP code to subtract two numbers.
b) Write a PHP code to show the use of GET and POST function
Manipal University Jaipur B2107 Page No.: 5
Web Technologies Lab Exercise 6
Exercise 6 AJAX with Database
VI. Level – 6 AJAX with Database
Refer: Unit 12 of Web Technologies Theory SLM
To perform these set of practical exercises use the following
i) Text Editor such as Notepad/WordPad to write the code
ii) Web Server: To host the connectivity
iii) Web Browser: To display the output
a) Establish a database connectivity using AJAX.
Manipal University Jaipur B2107 Page No.: 6
Web Technologies Lab Exercise 7
Exercise 7 Active Server Page
VII. Level – 7 Active Server Page
Refer: Unit 13 of Web Technologies Theory SLM
To perform these set of practical exercises use the following
i) Text Editor such as Notepad/WordPad to write the code
ii) Web Server: To get the response
iii) Web Browser: To show the desired output
a) Write a program to create cookies.
b) Write a for-loop statement that will print a word 20 times.
Manipal University Jaipur B2107 Page No.: 7
Web Technologies Lab Exercise 8
Exercise 8 ASP Database Connectivity
VIII. Level – 8 ASP Database Connectivity
Refer: Unit 14 of Web Technologies Theory SLM
To perform these set of practical exercises use the following:
i) Text Editor such as Notepad/WordPad to write the code.
ii) Web Server: To get the response to host connectivity.
iii) Web Browser: To show the output.
a) Write a ASP program which uses database.
__________________
Manipal University Jaipur B2107 Page No.: 8