0% found this document useful (0 votes)
48 views1 page

Online Notepad

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

Online Notepad

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

Web Technologies Lab Question Bank

1.HTML Structure
a. Create an HTML document structure with appropriate heading tags and paragraphs.
b. Insert an image into an HTML document and adjust its size using attributes.
c. Create an ordered list and a nested unordered list within an HTML page.

2.Linking and Navigation


a. Develop a webpage with hyperlinks to navigate between different sections within the same page.
b. Implement a link to an external webpage and open it in a new tab/window.
c. Create a navigation menu using anchor tags to link to different pages within the same website.

3.Form Creation
a. Design a simple login form with fields for username and password.
b. Add form validation using HTML attributes to ensure mandatory field entry.
c. Include a dropdown menu (select element) for user selection within a form.

4.XML Tagging
a. Create and save an XML document on the server, which contains 10 users information.
b. Write a program, which takes User Id as an input and returns the user details by taking the user
information from the XML document
5.Parsing in Java
a. Write Java code to parse an XML file using DOM and retrieve specific tag values.
b. Compare the advantages and disadvantages of DOM and SAX parsing techniques in Java.

6.Servlet
a. Explain the stages of a Servlet lifecycle briefly.
b. Reading Servlet parameters (or)
c. Explain Using Cookies and Sessions

7.JDBC and Database Connectivity


a. Write Java code to establish a connection to a MySQL database using JDBC.
b. Execute a simple SQL query to retrieve data from a database table.

8.JSP Elements
a. Define the purpose of JSP declarations and directives.
b. Create a JSP page with a declaration for a variable and display its value.
c. Explain the usage of JSP expressions and scriptlets with practical examples.

9.JavaScript Basics
a. Create a function in JavaScript that displays an alert message on button click.
c. Validate a form using JavaScript to ensure all required fields are filled before submission.

10.PHP Basics
a. Declare variables with different data types in PHP.
b. Implement a control structure (if-else) in PHP to check a condition and display output accordingly.
c. Explain the usage of arrays in PHP with a practical example.

11.PHP Database Interaction


a. Connect to a MySQL database using PHP's mysqli functions.
b. Execute a SELECT query in PHP to retrieve specific data from a table.
c. Use PHP to insert data into a MySQL database table from a web form.

You might also like