Posts

8 ONLINE BOOK STORE

Main.html  <html>  <head><h1><center ><font color="black">ODDESSY BOOK STORES</h1></center></font>  <script>  function redirect()  {  var selectedIndex= document.getElementById("Opt").selectedIndex;  var selectedText= document.getElementById("Opt").options[selectedIndex ].text;  if(selectedText=="horror")  {location.href="horror.html";  }  else{  location.href="sciencefiction.html";  }}  </script>   </head>  <body background="C:\Users\Admin\Downloads\photo-1602722053020-af31042989d5.jpeg">  <font color="white">  <center>  CHOOSE THE GENRE<select id="Opt">   <option>horror</option>  <option>sciencefiction</option>  </select>  <input type="SUBMIT" value="GO" onClick="redirect()">  </font>  </center>  </body>...

7 swap

<html>  <head>  <script>  function swapcontent(id1,id2)  {  var tmp=document.f1.id1.value;  document.f1.id1.value=document.f1.id2.value;  document.f1.id2.value=tmp;  }  </script>  <body bgcolor="cyan">  <form name="f1">  <input type="text" name="id1" value="Good"><br><br>   <input type="text" name="id2" value="Bad" ><br><br>  <input type="button" value="CLICK HERE TO SWAP" onclick="swapcontent(id1,id2)"><br>  </form>  </body>   </html> 

9 login

 <html> <head> <h1><center><font color="green">LOGIN</font></center></h1> <script> function login() { var uname=document.f1.t1.value; var pwd=document.f1.t2.value; if ((uname=="system")&&(pwd=="system")) {document.write("redirect to next page"); alert("successful");} else alert("invalid username or password"); } </script> </head> <body> <center> <form name="f1"> USERNAME: <input type="text" name="t1"><br><br> PASSWORD: <input type="password" name="t2"> <br><br> <input type="button" value="submit" onclick="login()"> <input type="reset" value="reset"> </center> </form> </body> </html>

66

 <html> <head> <h1><center><font color="blue">ELIGIBILITY </font></center></h1> <script> function elgi() { var DEGREE=document.f1.degree.value; var PERCENTAGE=parseInt(document.f1.percentage.value); var EXPERIENCE=parseInt(document.f1.experience.value); if ((DEGREE=="MBA")&&(PERCENTAGE>=75)&&(EXPERIENCE>=3)) alert("You are eligible to attend the interview on 05/05/2025"); else alert("sorry you are not eligible"); } </script> </head> <hr> <body bgcolor="pink"> <font color="black"> <form name="f1"> <b> FIRST NAME: &nbsp</b> <input type="text" name="fname" value="enter here"> <br><br> <b> LAST NAME: &nbsp</b> <input type="text" name="lname" value="enter here"> <br><br> <b> ADDRE...

10 si ci

 <html> <head> <h1><center><font color="green">CALCULATION OF SIMPLE AND COMPOUND INTEREST</font></center></h1> <script> function si() { var p=parseInt(document.f1.t1.value); var n=parseInt(document.f1.t2.value); var r=parseInt(document.f1.t3.value); var si=(p*n*r)/100; alert("SIMPLE INTEREST "+si)} function ci() { var p=parseInt(document.f1.t1.value); var n=parseInt(document.f1.t2.value); var r=parseInt(document.f1.t3.value); var ci=(p*Math.pow((1+r/100),n))-p; alert("COMPOUND INTEREST "+ci)} </script> <body> <center> <form name="f1"> Principal Amount: <input type="text" name="t1"> <br><br> Number of years: <input type="text" name="t2"> <br><br> Rate of Interest: <input type="text" name="t3"> <br><br> <input type="submit" value="Calculate ...

F&V 2

<html> <center> <body background="C:\Users\PRG\Desktop\veg.jpg"> <h1>LIST OF VEGETABLES</h1> </center> <ol type="I"> <li> brinjal </li> <li> carrot </li> </ol> <ol type="i"> <li> beans</li> <li> radish </li> </ol> </body> </html> <html> <center> <body background="C:\Users\PRG\Desktop\fruits.jpg"> <h1>LIST OF FRUITS</h1> </center> <ol type="I"> <li> pineapple </li> <li> strawberry </li> </ol> <ol type="i"> <li> banana </li> <li> lemon </li> </ol> </body> </html> <html> <frameset cols="50%,50%"> <frame src="C:\Users\PRG\Desktop\veg.html"> <frame src="C:\Users\PRG\Desktop\fruits.html"> </frameset> </html>

RESUME 5

<html> <head> <hr> <center> <font size="16"> RESUME </font></center> </head><hr> <body bgcolor="yellow"> < form><h3> FIRST NAME:&nbsp<input type ="text" name="finame"> <br> LAST NAME: &nbsp<input type = "text" name="fname"> <br> ADDRESS: &nbsp<text area name= "address"rows"7", cols="20"></text area><br> QUALIFICATION: &nbsp<br> <input type="radio" name="q1" value="ug"> ug<br> <input type="radio" name="q1" value="pg"> pg<br> HOBBIES:&nbsp<br><select name="HOBBIES"> <option value="reading"> READING</option> </select> <br> EMAIL ID: &nbsp <input type="text" name="email"><br> CONTACT:&nb...