




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
hii manual is here u can use this for writing record.
Typology: Assignments
1 / 105
This page cannot be seen from the preview
Don't miss anything!





























































































1
Deviyakurichi-636112, Attur (TK), Salem (DT). Website: www.tagoreiet.ac.in (Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai)
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
Aim To create web pages using using CSS Procedure
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 handAim: 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