0% found this document useful (0 votes)
3 views3 pages

WT Imp Questions Mid1

The document outlines various topics related to HTML, CSS, JavaScript, XML, and Servlets, including the creation of lists, formatting tags, style sheet integration, and form validation. It also covers advanced concepts such as XML schemas, DTDs, and the differences between DOM and SAX parsers. Additionally, it discusses the servlet lifecycle, deployment, and comparisons between CGI and Servlets.

Uploaded by

stiny9811
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

WT Imp Questions Mid1

The document outlines various topics related to HTML, CSS, JavaScript, XML, and Servlets, including the creation of lists, formatting tags, style sheet integration, and form validation. It also covers advanced concepts such as XML schemas, DTDs, and the differences between DOM and SAX parsers. Additionally, it discusses the servlet lifecycle, deployment, and comparisons between CGI and Servlets.

Uploaded by

stiny9811
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

[Link] are the different types of lists in HTML?

Explain how these lists are created in


HTML with suitable examples.
2. List any four HTML formatting tags with their purpose.
[Link] is a suitable procedure to integrate different style sheets into website? Explain. What
are the CSS Selectors explain with examples
[Link] the position property and its different values in CSS.
[Link] the box model in CSS.
c. Define frame. Create an HTML page that displays multiple frames in a window.

[Link] an image into a web page. Write a script which displays a message when the mouse
is over the image. The co-ordinates of the mouse should be displayed if click is attempted on
the image.

[Link] web page using JavaScript to validate a form consisting of Name, Password
(Minimum of 6 Characters), Confirm Password, Mobile number, E-mail id.
[Link] about regular expressions in javascript.
b. Create a HTML form to validate password that should contain at least one uppercase
character, one lower case characters and at least one digit and minimum of 8 characters,
entered in the text field when a button is clicked using JavaScript.
[Link] a Java Script program to present selected value in dropdown list.
[Link] different ways of applying CSS styles to HTML pages with suitable examples.
[Link] is XML Element. Explain various rules while writing XML
b. What are valid XML documents? Create an external DTD to validate an XML
document containing Employee information with the following specifications: Employee as
the root element, Child elements: EmployeeName, Gender, Role, Department, Phone, and
Address and Define EmployeeID as an attribute of the root element

11. Create a HTML form to validate email entered in the text field when a button is clicked
using JavaScript.

[Link] an XML schema. Show how an XML schema can be created.

[Link] are valid XML documents? Create an XML Schema to validate an XML document
containing Employee Information with Employee as root and EmployeeName, Gender, Role,
Department, Phone and Address as child elements. Define Employeeld as attribute of root
Element.
14. Create an XML document that uses namespaces to differentiate elements having the same
name but belonging to different vocabularies.
15.a What is the Document Type definition (DTD)? Describe how to declare elements,
entities and attributes in DTD.
b Create and validate an XML document to store voter ID, voter name, address and date of
birth details using XML Schema (XSD).

16.a Distinguish between DOM and SAX Parsers.

b Create a XML document to store Student details like HTNO, NAME, YEAR, and
BRANCH. Explain in detail how DOM Parser parse this XML file using Java.
[Link] are well formed XML documents? Create an XML document for maintaining book
information with Book as root element and BookName, title, AuthorName, Price and
PublisherName as child elements. Define an XML DTD to validate the created XML
document
[Link] can both Internal and External DTDs be used in an XML File? Show with an Example
[Link] a Java Script program to display the selected value from a dropdown list.
Write a HTML program that includes external CSS to style a webpage with the following
specifications:
1. Set the background color of the page to light gray.
2. Change the heading color to blue and align it to the center.
Add a red border and padding of 10px to a paragraph.

[Link] are the advantages of Servlet over CGI?


[Link] the servlet life cycle with a neat architecture?
[Link] the features of servlet? Distinguish between GET and POST
method in servlets.
[Link] is the role of [Link] in Servlet deployment? Explain with an example.
[Link] how to compile and deploy a Servlet using Apache Tomcat server.
[Link] out the important features of JavaScript which makes it versatile web programming and
explain the various data types supported by Java Script.

[Link] an XML document to store student details with the following elements HTNO,
NAME, YEAR, BRANCH and YEAR should contain an attribute semester (e.g., 1, 2). And
BRANCH should contain an attribute code (e.g., CSE, ECE, MECH). Create an XML
Schema Definition (XSD) to validate the above XML document.
[Link] life-cycle of Servlet and their respective methods.

[Link] CGI and Servlets with at least five differences.

[Link] the architecture of CGI and how it handles client requests.

[Link] the steps to create and deploy a Servlet application.

You might also like