0% found this document useful (0 votes)
10 views4 pages

WT Lab Programs

The document outlines a comprehensive 12-week curriculum covering HTML, CSS, JavaScript, XML, and JSP programming. Each week includes specific tasks and projects, such as creating HTML forms, styling webpages with CSS, validating data with JavaScript, and developing servlet and JSP programs. The curriculum is designed to progressively build skills in web development and programming concepts.
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)
10 views4 pages

WT Lab Programs

The document outlines a comprehensive 12-week curriculum covering HTML, CSS, JavaScript, XML, and JSP programming. Each week includes specific tasks and projects, such as creating HTML forms, styling webpages with CSS, validating data with JavaScript, and developing servlet and JSP programs. The curriculum is designed to progressively build skills in web development and programming concepts.
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

Week 1: HTML Basic Tags

1. Write an HTML program using header tags <h1> to <h6>.


2. Write an HTML program using the paragraph tag <p>.
3. Write an HTML program using the anchor tag <a>.
4. Write an HTML program using the image tag <img> with all its attributes.
5. Create a basic homepage of a university using HTML.

Week 2: HTML Lists and Tables


1. Create unordered, ordered, and description lists using <ul>, <ol>, and <dl> tags.
2. Write an HTML program to describe all types of lists (ordered, unordered,
description) along with their tags and attributes.
3. Design an HTML table using rowspan and colspan.

4. Create a timetable using HTML (Table tags and their attributes).


5. Demonstrate the attributes of <table>, <tr>, and <td> tags with examples.

Week 3: HTML Forms (with Validations)


1. Design an HTML Gmail login form using <form> tags.
2. Create a registration form for personal details ( name, email, phone number, gender,
D.O.B, hobbies ) in HTML.
Week 4: CSS Styles, Properties, and Pseudo-classes
1. Create a webpage that demonstrates the use of inline styles, internal stylesheets, and
external stylesheets, including CSS properties related to text, font, background, tables,
and lists.
2. Create a webpage demonstrating the use of different selectors in CSS, including
properties related to margins, padding, and borders.

Week 5: JavaScript Functions


1. Write a JavaScript program to demonstrate pop-up boxes (alert, prompt, confirm).
2. Write a JavaScript program to check if a given year is a leap year.
3. Write a JavaScript program to generate all prime numbers up to a given number
(include a textbox to accept input and a submit button).
4. Write a JavaScript program to demonstrate linear search.

Week 6: JavaScript Validations


1. Write JavaScript to validate email addresses with conditions:

▪ At least one @ symbol.

▪ At least two dots (.).

▪ No consecutive dots or @.

▪ The first and last characters cannot be . or @.

Week 7: XML with DTD


1. Write an XML file to display book information, including:
Title of the book
 Author Name
 ISBN number
 Publisher name
 Edition
 Price
2. Write an internal DTD document to validate the Book Information XML file.
 Author Name
 ISBN number
 Publisher name
 Edition
 Price

3. Write an XML file to display student information containing various elements and
their attributes.
 Name
 Email
 Age
 Phone number
 Course
3. Write an external DTD document to validate the Student Information XML file.
 Name
 Email
 Age
 Phone number
 Course

Week 8: XML with XSD


1. Create an XML document for a bookstore example with elements like Book Name,
Genre, Author Name, Date of Publishing, and Price.
2. Write an XML Schema Document (XSD) to validate the above Book Store
(Book Name, Genre, Author Name, Date of Publishing, and Price) XML file.

Week 10: Servlet Programs


1. Write a servlet program to demonstrate servlet lifecycle methods.
2. Write a servlet program to find the addition of two numbers.

Week 11: Servlet Parameters, Sessions, and Cookies


1. Create a servlet that counts the number of digits in an integer received as an init
parameter.
Week 12: JSP Programs
1. Create a JSP program to generate the multiplication table of a given number.
2. Create a JSP program to calculate the factorial of a given number (using a function).
3. Create a JSP program to apply all arithmetic operations on two numbers (a, b). Input
must be taken from a user form.
4. Create a JSP program to calculate the gross salary of an employee, where BASIC
salary is taken as input from the user. Use the following rules:

▪ DA = 90% of BASIC

▪ HRA = 10% of BASIC

▪ GROSS = BASIC + DA + HRA

5. Write a JSP program to demonstrate exception handling (e.g., divide by zero).

You might also like