Web Summer 2023
Web Summer 2023
___________
MARKS
Q.3 (a) Write the difference between POST and GET methods. 03
(b) Discuss following properties with respect to CSS. 04
(1) Z-Index positioning (2) Relative positioning
(c) (i) Write a JavaScript that handles following mouse event. If the mouse is over 07
heading, change font color to “green” and if the mouse goes out of the heading
change it to “red”.
(ii) Put three buttons “OPEN NEW WINDOW”, ”CLOSE CHILD WINDOW”,
”CLOSE MAIN WINDOW” in main HTML page. On click of first button, execute
some JavaScript code that will open one child window. Clicking on second button,
child window will close and clicking on third button, main html page will close.
OR
Q.3 (a) Create a webpage containing one button. Clicking on this button, change the size 03
of the window & position.
(b) What is Pseudo-Elements in CSS? Explain through example. 04
(c) (i) Explain different pop-up boxes of Javascript with suitable examples. 07
(ii) Write HTML and JavaScript code to validate the email address using regular
expression.
1
Q.4 (a) What is the use of cookie in web programming? Write a code to set and display 03
cookies in PHP.
(b) Explain any two event handlers for text box & text area in Java Script with 04
Example.
(c) Write HTML and PHP program to read and store employee information such as 07
e_id, e_name, e_dept, e_exp and e_salary from employee table. Make a search
module to search a record from the database based on e_dept and display the result
in tabular format.
OR
Q.4 (a) Explain session in PHP with example. 03
(b) Explain any two event handlers for button in Java Script with Example. 04
(c) Write a web application code using PHP, HTML and MySql for Students that stores 07
EnrollmentNo, Name, College, Branch, Year etc. in database. Make separate PHP
file for each database operation like insert, update and delete operation.
*************