lab manual for internet programming, Assignments of Internet and Information Access

hii manual is here u can use this for writing record.

Typology: Assignments

2020/2021

Uploaded on 04/30/2021

shek-s-creation-j
shek-s-creation-j 🇮🇳

1 document

1 / 105

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
TAGORE INSTITUTE OF ENGINEERING AND
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download lab manual for internet programming and more Assignments Internet and Information Access in PDF only on Docsity!

TAGORE INSTITUTE OF ENGINEERING AND

1

TECHNOLOGY

Deviyakurichi-636112, Attur (TK), Salem (DT). Website: www.tagoreiet.ac.in (Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)

Accredited by NAAC

Department of Computer Science and Engineering

III Year- VI Semester – Computer Science and Engineering

CS8661 – INTERNET PROGRAMMING LABORATORY

LAB MANUAL

Academic Year 2020-

(2017 Regulation)

EX. NO: 1 CREATE A WEB PAGE WITH THE FOLLOWING

USING HTML

AIM:

To create a web page which includes a map and display the related information when a hot spot is clicked in the map. i) To embed an image map in a web page ii) To fix the hot spots iii) Show all the related information when the hot spots are clicked. ALGORITHM: Step 1: Create a html file with map tag Step 2: Set the source attribute of the img tag to the location of the image and also set the usemap attribute Step 3: Specify an area with name,shape and href set to the appropriate values Step 4: Repeat step 3 as many hot spots you want to put in the map Step 5: Create html files for each and every hotspots the user will select PROGRAM: ImageMap.html

Image Map

TamilNadu.html

About Tamil Nadu BODY> Tamil Nadu

Area : 1,30,058 Sq. Kms. Capital : Chennai Language : Tamil Population : 6,21,10,839 India Map

Karnataka.html

About Karnataka

Karnataka

Area : 1,91,791 Sq. Kms Capital : Bangalore Language : Kannada Population : 5,27,33,958

OUTPUT:

EX.NO :2 DEVELOP THE PROGRAM WITH USAGE OF INLINE, INTERNAL

AND EXTERNAL STYLE SHEET USING CSS

Aim To create web pages using using CSS Procedure

  1. Use different font styles
  2. Control the repetition of image with background-repeat and no-repeat property
  3. Define style for links as a: link, a: active, a: hover, a: visited
  4. Add customized cursors for links. style.css p.left { text-align:left; color:blue; font-family:Cambria; font-size:large; text-indent:20px; } p.center { text-align:center; text-decoration:underline; text-transform:uppercase; letter-spacing:-3px; word-spacing:20px; font-size:larger; } p.right { text-align:right; color:red; font-family:Tahoma; font-size:15pt; text-decoration:overline; font-style:italic; } b#headline { color:orange;

font-size:22px; font-family:arial; text-decoration:underline; } sample.html

CSS (Inline, Internal and External)

This Paragraph is a Not Styled

This Paragraph is Styled by class "Left"

This Paragraph is Styled by class "Center"

This Paragraph is Styled by class "Right"

This is normal Bold This Bold Text is Styled This is a link The cursor over this element is plus sign The cursor over this element is a pointing hand The cursor over this element is a grasping hand

EX. NO: 3 VALIDATE THE REGISTRATION, USER LOGIN, USER PROFILE AND

PAYMENT BY CREDIT CARD PAGES USING JAVASCRIPT.

Aim: To validate the Registration, User Login, User Profile And Payment By Credit Card Pages by Using Javascript. Program:

- Home page: Main.html:

Top.html:

ONLINE BOOK STORAGE

Right.html:

welcome to online book storage. Press login if you are having id otherwise press registration.

Left.html:

LOGIN USER PROFILE BOOKS CATALOG

SHOPPINGCART

PAYMENT

document.myform.focus(); } }

LOGIN ID : PASSWORD:

User profile page Profile.html:

if(document.myform.name.value==””|| document.myform.addr.value==””|| document.myform.phno.value==””|| document.myform.id.value==””|| document.myform.pwd.value==””) { flag=0; } var str=document.myform.phno.value; var x; for(var i=0;i

var flag=1; if(document.myform.title.value=="") { flag=0; } str=document.myform.title.value; if(str=="c") { document.writeln(""); document.writeln("title-->c"+" cost-->444"); } else if(str=="jsp") { document.writeln(""); document.writeln("title-->jsp"+" cost-->555"); } else { flag=0; } if(flag==1) { alert("VALID INPUT");

else { alert("INVALID INPUT"); document.myform.focus(); } }

BOOK TITLE : 21