Attempt any Eight questions.
[8*5=40]
4.
What are HTML keyboard events? Write a script to display a message 'Hello world' on keypress event. [5]
5.
How HTML elements are accessed using getElementById and getElementByTagName, illustrate using HTML script. [5]
6.
How can you define position property for specifying specific positioning of an HTML element? Write internal CSS to illustrate position of an HTML div. [5]
7.
What is chaining in jQuery? Write a script to illustrate concept of chaining using slideUp and slideDown method. [5]
8.
What is XML? Why is it called extensible? Mention the use of XML. [5]
9.
What is XMLHttpRequest object? Write HTML script with AJAX showing the use of XMLHttpRequest object. [5]
10.
Write a PHP program that includes a function that will take two strings as input argument and print concatenation of two strings. [5]
11.
How can you handle session in PHP? [5]
12.
Describe the WWW, web client and web server. [5]