0% found this document useful (0 votes)
124 views

Web Programming Lab Programs Part A

This document contains two parts that outline programming lab exercises involving HTML, CSS, and JavaScript. Part A contains 8 exercises involving creating forms with different elements, validating form inputs, performing mathematical calculations, adding dynamic effects and animations, working with arrays, and more. Part B contains 8 additional exercises like displaying personal information using different lists, creating linked pages for course information, working with tables, demonstrating form elements, and writing JavaScript codes to manipulate text, calculate factorials, detect the browser, and use CSS styling.
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)
124 views

Web Programming Lab Programs Part A

This document contains two parts that outline programming lab exercises involving HTML, CSS, and JavaScript. Part A contains 8 exercises involving creating forms with different elements, validating form inputs, performing mathematical calculations, adding dynamic effects and animations, working with arrays, and more. Part B contains 8 additional exercises like displaying personal information using different lists, creating linked pages for course information, working with tables, demonstrating form elements, and writing JavaScript codes to manipulate text, calculate factorials, detect the browser, and use CSS styling.
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
You are on page 1/ 2

 

WEB PROGRAMMING LAB PROGRAMS
 
                                                         PART A

1)Create   a   form   having   number   of   elements(Textboxes,Radio


Buttons,Checkboxes,and so on). Write a javascript code to count the number
of elements in a form
2)Create a HTML form that has number of textboxes.When the form runs in
the Browser fill the textboxes with data.
Write   Javascript   code   that   verifies   that   all   textboxes   has   been   filled.If   a
textboxes   has been   left   empty,popup an  alert  indicating which textbox has
been left empty.
3)Develop   a   HTML   form,which   accepts   any   Mathematical   expession.Write
Javascript code to Evaluates the expression and displays the result.
4)Create  a page  with dynamic effects.Write the  code to include  layers and
basic animation.
5)Write   a   javascript   code   to   find   the   sum   of   N   natural   Numbers(Use   user
defined function)
6)Write a javascript code block using arrays and generate the current date in
words,this should include the day,month and year.
7)Create   a   form   for   student   information.write   Javascript   code   to   find
Total,Average,Result and Grade.
8)Create a web page using two image files,which switch between one another
as   the   mouse   pointer   moves   over   the   iamages.Use   the   onMouseOver   and
onMouseOut event handlers.

                        PART B

1)Display information about yourself:
   a)Use unordered list to display your hobbies.
   b)Use definition list to display certain events.
   c)Use ordered list to display your subjects of interest.
2)Create   a   HTML   document   to   display   the   coursses   available   in   your
college.Each   course   should   be   linked   to     another   HTML   document,which
provides information about the course.
3)Create   a   table   to   display   your   class   timetable.Use   your   choice   of
background color,table color etc.Use appropriate cell spacing,cell pading and
cell width.
4)HTML code to demonstrate form elements and their tags.
5)Write Javascript code to convert text entered in a text box to uppercase.
6)Write a Javascript code to find factorial of a number.
7)Write   Javascript   code   to   display   the   browser   name   and   version   number
using Navigator object.
8)Use   CSS   to   set   margins   and   include   background   images   in   a   HTML
document.

You might also like