Web Developement Lab
Web Developement Lab
Institute of Technology
New Vallabh Vidyanagar
4 CSS
1) Develop and demonstrate the usage of inline and external style sheet using CSS.
2) Create a Fancy table as shown below.
5 JavaScript
1) Write JavaScript to validate the following fields of the above registration page.
Name (Name should contains alphabets and the length should not be less than 5
characters). Password (Password should not be less than 6 characters length).E-mail
id (should not contain any invalid and must follow the standard pattern
[email protected]), Phone number (Phone number should contain 10 digits
only).
2) Write a JavaScript to design a simple calculator to perform the following operations:
sum, product, difference and quotient.
3) Write a JavaScript that calculates the squares and cubes of the numbers from 0 to
10and outputs HTML text that displays the resulting values in an HTML table
format.
4) Write a HTML page that has one input, which can take multi-line text and a submit
button. Once the user clicks the submit button, it should show the number of
characters, words and lines in the text entered using an alert message. Words are
separated with white spaces and lines are separated with new line character.
5) Write an HTML page that contains a selection box with a list of 5 countries. When
the user selects a country, its capital should be printed next to the list. Add CSS to
customize the properties of the font of the capital (color, bold and font size).
6 DHTML
1) Create image viewer with following buttons. Next, Previous, First, Last
2) Write a program that changes the Size of an
Image when you mouse over the Image and when mouse out image will be in original
size.
Madhuben and Bhanubhai Patel
Institute of Technology
New Vallabh Vidyanagar
7 1) PHP
Understand PHP Language, configure server-client environment in local system
using Xampp / Wamp and create first PHP Programme
8 PHP
1) Write a PHP script to upload a file to server.
2) Make a login form having following fields: Username, Password, Remember Me
(checkbox) and submit button. Write a PHP script to check for valid login and if
user selects “Remember Me” option, cookie will be created for keeping track of
user’s previous visit.
3) Write a simple PHP script which implement CRUD application.