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

CS702C Web Tech Lab Assignment

The document outlines various assignments for web technology and programming courses. It includes tasks for creating applets, JavaScript programs, Perl scripts, socket programs, Java RMI applications, HTML pages, XML documents, and a DTD. Students would complete assignments on banners, clocks, shapes, images, sounds, files, forms, tables, frames, and styling pages with CSS. Tasks involve validation, regular expressions, arrays, event handling, and client-server programs.

Uploaded by

Madhulina Pal
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views

CS702C Web Tech Lab Assignment

The document outlines various assignments for web technology and programming courses. It includes tasks for creating applets, JavaScript programs, Perl scripts, socket programs, Java RMI applications, HTML pages, XML documents, and a DTD. Students would complete assignments on banners, clocks, shapes, images, sounds, files, forms, tables, frames, and styling pages with CSS. Tasks involve validation, regular expressions, arrays, event handling, and client-server programs.

Uploaded by

Madhulina Pal
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Web Technology Lab

CS702C

Applet
1. Create a banner usingApplet
2. Display clock usingApplet
3. Create different shapes usingApplet
4. Fill colors in shapes usingApplet
5. Goto a link usingApplet
6. Create an event listener in Applet
7. Display image usingApplet
8. Open a link in a new window usingApplet
9. Play sound usingApplet
10. Read a file usingApplet
11. Write to a file using Applet
JavaScript
12. Validate the fields of a form usingJavaScript.
13. Guess a number based on user input.
14. Program on image rollover usingJavaScript.
15. Display clock usingJavaScript.
16. Prompt, alert, array, looping inJavaScript.
17. Calculator usingJavaScript.
18. Validate e-mail, phone no. using reg-ex in JavaScript.
Perl

19. Write a perl script to implement associativearray.


20. Write a perl script to implement the regular expression asfollows:
a). If a string contains any vowel, count the total number of vowels.
b). If a string starts with MCA and end with bw, print 1 else 0.
c). If string starts with 0 or any no. a’s, then print 1 else 0.
21. Write an html code to call a perl script fromcgi-bin.
22. Implement the following with regular expression inPerl:
a). a*bc
b). a* at least 2b’s
c). a*exactly 3b’s
23. A simple File operation usingPerl.

Client Server Programming

24. Write a socket program to get the current date and time from theserver.
25. Write a socket program where the client will send lowercase letters and the server will return uppercaseletter.
26. Write a server and a client program to implement TCP chatserver-client.
27. Create a simple calculator application using JavaRMI.

HTML

1. Start your web page with an <html>tag


i) Add aheading.
ii) Add atitle.
iii) Start the <body>section.
iv) Add the following text using <H1> and </H1> tags:
This Web page was designed by (yourname)
v) Add the following text using <H2> and </H2> tags: My HTMLassignment
vi) Add a horizontalline
vii) Insert an image to your webpage.
Note: You should then refer to your image with just the filename, and NOT the entire pathname to the file.
viii) Add another horizontal line.
ix) Enter a paragraph oftext.
Write about things you have learned in html.
Make sure the text in this paragraph is a color other than black, but something one can see.
Add a link that takes you to your favorite webpage.
x) Start a new paragraph. Add a three item ordered list. Make it creative (don’t just say item 1, item 2, etc… and keep it
clean)!
xi) Close out your body and htmltags.

2. Start your web page with an <html>tag


i) Add aheading.
ii) Add atitle.
iii) Start the <body>section.
iv) Start a new paragraph.
Use alignmentattribute,
Use bold, italic, underline tags,
Use font tag and associated attributes,
Use headingtags,
Use preservetag,
Use non breaking spaces (escape character).

3. Start your web page with an <html>tag


i) Add aheading.
ii) Add atitle.
iii) Start the <body>section.
iv) Start a new paragraph.
CreateHyperlinks:
(a) Within the HTMLdocument.
(b) To another URL.
(c) To a file that can be rendered in thebrowser.

4. Start your web page with an <html>tag


i) Add aheading.
ii) Add atitle.
iii) Start the <body>section.
Create an unorderedlist,
Create an ordered list,
Use various bullet styles,
Created nested lists,
Use the font tag in conjunction with lists,
Create definition lists,
Use graphics as bullets.

5. Start your web page with an <html>tag


i) Add aheading.
ii) Add atitle.
iii) Start the <body>section.
a) Create a simpletable
Create borders and adjust border size.
Adjust table cell spacing.
Change border color.
Change table background color.
b) Align a new table on HTMLpage.
Perform cell textalignment,
Create multi-column tables,
Display information about your academic qualification into this table.

6. Start your web page with an <html>tag


i) Add aheading.
ii) Add atitle.
iii) Start the <body>section.
Create aframeset:
Use frame tags,
Create vertical (column) frames,
Create horizontal (row) frames,
Create complex framesets,
Use the hyperlink tag to target displaying an HTML page to another frame.

7. Start your web page with an <html>tag


i) Add aheading.
ii) Add atitle.
iii) Start the
<body>section. Create a
simple HTMLform.
Use the input tag to create a: text box; text area box; check box; list box; radio button; password field; popup
menu; hidden field. Use submit and reset buttons. Create an admission form using the above information.
8. Create a web page that will include an image. Then create image map to watch different parts of that
imageclosely.

9. Using frames as an interface, create a series of web pages where the theme is to provide resources (internet,
intranet, static HTML pages) pertaining to the subject of HTML. Ideally, your goal is to create a resource that
you can use long after this module when needing information on HTML. As a minimum requirement to this
assignment your webpageshould:
• Consist of at least 3frames.
• Contain at least 5 URLs to internet and/or intranet sites that you can reference as part of yourjob.
• Contain at least 5 references to documents that you have created that you use on a regularbasis.
• Contain at least 5 references to documents others have created that you use on a regularbasis.
• Be organized in a fashion that is logical and intuitive toyou.
• Is done with enough quality that you would not be opposed to it being a link at anothersite.

10. Createaweb pageasyouwishandthehtmlelementsofthepagewillbestyledbyCSS.

XML

1. Write a XML program that will create an XML document which contains your mailingaddress.

2. Write a XML program that will create an XML document which contains description of three bookcategory.

3. Create an XML document that contains the name and price per pound of coffeebeans.
i) In your XML document mention all properties of XMLdeclaration.
ii) The root element has name<coffee_bean>
iii) Create nested elements for different types ofcoffee.
iv) Validate the document and if any parsing error is present, fixthem.

4. Create an XML document that contains airline flightinformation.


i) In your XML document mention all properties of XMLdeclaration.
ii) The root element has name<airlines>
iii) Create three nested <carrier> elements for three separate airlines. Each element should include a nameattribute.
iv) Within each <carrier> nest at least two <flight> ,each of which contains departure_city, destination_
city, fl_no, dept_time.
v) Validate the document and if any parsing error is present fixthem.

5. Create an XML version of your resume. Include elements such as your name and position desired. Nest each
of your former employers within an <employer> element. Also, nest your educational experience within an
<education> element. Create any other nested elements that you deem appropriate, such as <references> or
<spcl_skills>elements.

6. Create a DTD on productcatalog.

You might also like