Attempt any Eight questions.
[8*5=40]
4.
Write a HTML script to generate following list of items; 1. Coffee : I. Black coffee II. Green coffee 2. Tea A: Black tea B. Green tea [5]
5.
Create a HTML page containing a div having id 'div1'. The div should contain canvas element. The id of canvas should be 'mycanvas'. The height and width of canvas should be 200 and 300. [5]
6.
What are the usages of class and id selectors in CSS? Illustrate with example. [5]
7.
What is word-wrap property in CSS? Write an HTML script to illustrate the word-wrap property. [5]
8.
Describe the jQuery Animate() method. Write an html script to create a div with id 'mydiv'. The position of the div should be set to absolute. Now show the use of animate method to the div element to right by 300px. [5]
9.
What is XML Namespace? How is it used to avoid element name conflict in XML? Justify with an example. [5]
10.
How can you define class and objects in PHP? Write a PHP script to create class and its object. [5]
11.
How can you define array in PHP? Write a PHP function to create an array of type integer and print its elements. [5]
12.
Differentiate Web 1.0 from Web 2.0. [5]