MCA 406 : Web Technologies Lab

Lectures: 6 Periods/Week Sessional Marks: 30
University Exam: 3 Hours University Examination Marks: 70


UNIT-I

  1. Write HTML code to provide intra document linking.
  2. Insert the “Calendar” object in a web page.
  3. Create a form with the following specifications
    1. Our form uses frames, one to hold the links bar at the op of the browser window.
    2. Other is a larger frame that provides the main view.
    3. The links bar should contain 5 links, which when clicked, should display the appropriate HTML file in the larger frame.
  4. Simulate the “notepad” help file in HTML.
  5. Write a Java script to differentiate between write() and writeln() methods. Also, depict how tag h1 in a Java script influence the output, while a "pre" tag is also attached to the script.
  6. Find the difference in hours between local time and Greenwich Mean Time using the ‘Date’ object in Java Script.
  7. Create a bank entry form using appropriate form elements. The account number must not be visible on the screen. The name and address must be stored in one place. There must be a text box showing the opening balance of the customer. The user should be able to make a choice of either a deposit (or) withdrawal transaction. Accordingly, when the user deposits (or) withdraws money, the opening balance must be updated using CREDIT/DEBIT button. The user should not be able to make any entries in the opening balance text box.
  8. Write a Java Script to update the information into the array, in the “onClick” event of the button “Update”.
  9. Create forms for the objects “stu_info”,”College” and “Experience”. Place textboxes for all the fields in the form “stu_info”. Create two tables for storing data for the “college” and “experience” forms and place textboxes for all the fields in a three row format. Place two buttons “update” and “retrieve” in the form “execute”.
  10. Create a web page for a shopping mall that allows the user to tick off his purchases and obtain the bill with the total being added up simultaneously.
  11. Use the suitable date functions to prompt the user for an integer between 1-31 and return the day of the week it represents.
  12. Write a script to find the duplicate elements of an array.
  13. Write validation functions for checking the alphabetic and number fields.
  14. Using the concept of “Nested Frames”, obtain the output as follows:
    The right hand frame must display the output of the file, that is entered in the top-left frame. The bottom left-hand frame displays the selected background color.
  15. Create a home page for “Cyber book stores” that will display the various books available, the authors and prices pf the books. Include a list box that contains various subjects and a “submit” button, that displays information about the books on the subject required by the user.
  16. Create a HTML form that interacts with the user. Collect first name, last name and date of birth and display that information back to the user.
  17. Write a script which generates a different greeting each time the script is executed.
  18. Write a script that takes input from user and displays the same in upper case.
  19. Illustrate different types of filters on a sample text.
  20. Create an inline style sheet.
  21. Illustrate the use of an embedded style sheet.
  22. Create an external style sheet to illustrate the “Font” elements.
  23. Create a file with HTML code and insert two anchors to point to a specific area in the code.
  24. Illustrate the creation of clickable images in HTML.
  25. With a suitable example, depict how we can align text and images using “table” tag.
  26. Simulate the “Clip Art” gallery of M.S.Word in HTML, using suitable tags.
  27. Using functions, write a Java Script code that accepts user name and password from user. Check their correctness and display appropriate alert messages. Restrict the user to try only for a maximum of three times.
  28. Modify the above program that suits the following requirements:
    1. After a lapse of 15 seconds, the password should be generated automatically.
    2. For impatient users, place a button that displays the passwords immediately without waiting for 15 seconds.
  29. Write a script to open a new window, after clicking a button named “New”. After displaying the new window, the original window should be closed automatically.
  30. Write an application to create a “customer interaction form”, that accepts the name, age and salary of a customer who approaches the bank to obtain education loan for their children. He should furnish details about his marital status and children. Accept this information in textboxes and two check boxes. Display whether the customer is eligible for the loan (or) not, based on the furnished information.