How variables in JavaScript are defined and declared? Write a JavaScript function that will include the variable having values number 5 and character '5' and print the variables. [5]
2.
What is form validation? Write a JavaScript function to validate an email field, password having length at least 6 and a collection of checkbox of 3 hobbies having at least one of them to be checked. [5]
Introduction
1.
What do you mean by client server architecture? Describe different types of client server architectures. [5]
Markup Language
1.
What is the meaning of hypertext and markup in HTML. Create a HTML page having title "Myfirstpage" and a Meta tag with name author having content "Gunnu". The page should have a body part having a div with id DV_1 which should contain an ordered list of fruit items namely Orange, Apple2, Banana3 and Kiwi. The item kiwi should also have link to www.kiwi.com. Insert a comment "This is kiwi" after the item Kiwi. Also display an alert message "Helloworldx" in onload() event of the body. [10]
2.
What is canvas element? Write a HTML script to create a canvas field having id cv1 and draw a circle inside the canvas. [5]
3.
What is table in HTML? Create a HTML page containing a DIV with name "divtb". The divtb should contain a table as below[Note the border should be dotted ]
[5]
Style Sheets
1.
What is CSS? How CSS is inserted in a HTML page? Illustrate with examples. [10]
2.
Write a CSS script to illustrate the concept of Normal Box Layout and Basic Box Layout. [5]
3.
Write an external CSS and link it to a HTML page containing HTML elements. Use your own assumptions for HTML elements and their CSS. [5]
XML
1.
What is the meaning of extensible in XML? Mention the XML naming rules. Create an XML file containing an empty element with content, element with element, and element with attribute. Now write equivalent DTD. [10]
2.
Justify with an example that how XML namespace provides a method to avoid name conflict. [5]
3.
Create a XMl file containing elements Username, Password. Write its XSD and set the restriction of the password must be minimum 4 characters and maximum 8 characters [5]