0% found this document useful (0 votes)
12 views2 pages

Web Programming Lab

The document outlines a web programming course (22CS505) focusing on creating web pages with client-side and server-side scripting, comprising 28 practical hours. Students will learn to use HTML/XHTML, CSS, and JavaScript, and will complete a mini project in teams. The course includes various assignments such as form validation, XML file creation, and PHP scripting for database interactions.

Uploaded by

prakruthi.jashu
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)
12 views2 pages

Web Programming Lab

The document outlines a web programming course (22CS505) focusing on creating web pages with client-side and server-side scripting, comprising 28 practical hours. Students will learn to use HTML/XHTML, CSS, and JavaScript, and will complete a mini project in teams. The course includes various assignments such as form validation, XML file creation, and PHP scripting for database interactions.

Uploaded by

prakruthi.jashu
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

Course Title WEB PROGRAMMING

Course Code 22CS505 L-T-P-C (0-0-4)2


Exam Hrs. 3 Hours / Week 4
SEE 50 Marks Total Hours 28P
Course Objective: Create web pages with client side and server-side scripting
Course Outcomes (COs): Upon completion of the course, students shall be able to :
Mapping Mapping
# Course Outcomes
to POs to PSOs
1. Create webpages using HTML/XHTML and CSS. 3,12 2
2. Develop client-side script to design webpage 3,5,12 2
3. Develop server-side script to create webpage 3,5,12 2
Course Contents:

1. Write a XHTML document to create web page with forms, links, image
2. Develop and demonstrate a XHTML document that illustrates the use of external style sheet (CSS),
ordered list, table, borders, padding, color and the <span> tag.
3. Create a JavaScript that prompts the user for a number and then counts from 1 to that number
displaying only the odd numbers using alert window.
4. Write a java script to validate the following fields in a registration page
 Name (should contains alphabets and the length should not be less than 6 characters)
 Password(should not be less than 6 characters)
 E-mail(should not contain invalid addresses)
5. Develop and demonstrate, using JavaScript script, a XHTML document that collects the USN ( the valid
format is: A digit from 1 to 4 followed by two upper-case characters followed by two digits followed by
two upper-case characters followed by three digits; no embedded spaces allowed) of the user. Event
handler must be included for the form element that collects this information to validate the input.
Messages in the alert windows must be produced when errors are detected.
6. Develop and demonstrate, using JavaScript, a XHTML document that contains three short paragraphs of
text, stacked on top of each other, with only enough space of each showing so that the mouse cursor can
be placed over some part of them. When the cursor is placed over the exposed part of any paragraph, it
should rise to the top to become completely visible.
7. Write an XML file which displays the book details that includes the following:
 Title of book
 Author name
 Edition
 Price
Write a DTD to validate the above XML file and display the details using XSL.
8. Write XHTML form and PHP to insert name and age information entered by the user into a table created
using MySQL and to display the current contents of this table.
9. Write a PHP program to store current date-time in a COOKIE and display the Last visited on date-time
on the web page upon reopening of the same page.
10. Create a XHTML form with Name, Address and E-mail text fields and use PHP script to store the
values in MySQL table and to Retrieve and display the data based on Name.
Activity :
Mini project (Carry out a mini project in a team of 2 to 4 members)
Text Book :
Robert W. Sebesta: Programming the World Wide Web, 8th Edition, Pearson Education, 2014.
Course Articulation matrix

PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2
CO1 - - 3 - - - - - - - - 2 - 2
CO2 - - 3 - 2 - - - - - - 3 - 2
CO3 - - 3 - 2 - - - - - - 2 - 2

You might also like