Online Notepad
Online Notepad
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.
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
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.