Tribhuvan University

Institute of Science and Technology


Bachelor Level / fifth-semester / Science

Computer Science and Information Technology( CSC318 )

Web Technology

Full Marks: 60+20+20

Pass Marks: 24+8+8

Time: 3 Hours

Candidates are required to give their answers in their own words as far as practicable.

The figures in the margin indicate full marks.

Section A

Attempt Any Two Question


Create web form for book search catalog. The form should contain a dropdown defining search type, a text box for search keyword, a radio button for download type true or false, now write PHP script to store data from the form into database table and also retrive the results from stored table in a new page.


How can you create objects in Javascript? Create a HTML page containing a division with image and its description in paragraph. Write a javascript function to change the value of description in the paragraph during onmouseover and mouseout event on the image.


How positioning of HTML elements can be done using CSS? Create a HTML page with a div with some content and two paragraph with some contents having id p1 and p2. Write external CSS for the div tag having fixed position with border style solid and width 2px. the p1 should have relative position. The font type of p1 should be Arial and color should be red. The p2 have absolute position with top 0px and left 200px.

Section B

Attempt Any Eight Questions


What is HTTP protocol? Define HTTP Request and Response.


Create a HTML page with tags header, article and footer. Insert alink containing mail to [email protected] in the footer tag. Set the keywords “iost”, “csit” using Meta tag in the page.


How jQuery animate can be used to create custom animation? Write syntax with sample script.


What is the use of JSON? How can you parse a JSON, illustrate with an example.


What is XML? Create an XML file containing records of employee having elements of simple and complex types.


How XSD of a XML file is created? Illustrate with an example.


How can you define variables in PHP? Define any two variable of string types and display their results after concatenation.


How web pages can be made responsive using media queries ? Illustrate with an example.


Why inline frames are used? Create a HTML page containing iframe within a paragraph. The iframe have source to and its height and width are 200px and 400px respectively.