Tuesday, 23 September 2014

index


<style>
.option
{
width:175px;
}
.question
{
font-size:20px;
font-weight:bold;
}
</style>
<script>
function abc()
{
rollno=document.forms["check"]["rollno"].value;
if(rollno=="")
{
alert("Please Fill Your Roll No.");
return false;
}
name=document.forms["check"]["name"].value;
if(name=="")
{
alert("Please Fill Your Name");
return false;
}
teacher=document.forms["check"]["teacher"].value;
if(teacher=="")
{
alert("Please Select Your Teacher Name");
return false;
}
timing=document.forms["check"]["timing"].value;
if(timing=="")
{
alert("Please Select Your Class Timing");
return false;
}
course=document.forms["check"]["course"].value;
if(course=="")
{
alert("Please Select Your Course Name");
return false;
}


upload=document.forms["check"]["upload"].value;
if(upload=="")
{
alert("Please Upload Your Picture");
return false;
}

}
</script>



<body bgcolor="white">
<form method="post" action="info.php" enctype="multipart/form-data" name="check">
<h1 align="center">Online Examination System</h1>
<table width="900" align="center">
<form action="info.php" method="POST">
<tr>
<td>Rollno</td>
<td>
<input type="text" name="rollno" size="40">
</td>
<td>Name</td>
<td>
<input type="text" name="name" size="40">
</td>
</tr>

<tr>
<td>Teacher</td>
<td>
<select name="teacher">
      <option value="">Select-Teacher</option>
      <option value="Sir Majid">Sir Majid</option>
      <option value="Sir Tahir">Sir Tahir</option>
      <option value="Sir Ali">Sir Ali</option>
      <option value="Sir Atif">Sir Atif</option>
      <option value="Sir Javed">Sir Javed</option>
</select>
</td>
<td>Timing</td>
<td>
<select name="timing">
      <option>Select-Paper-Timing</option>
      <option value="09:00 am">09:00 am</option>
      <option value="10:00 am">10:00 am</option>
      <option value="11:00 am">11:00 am</option>
      <option value="12:00 pm">12:00 pm</option>
      <option value="01:00 pm">01:00 pm</option>
</select>
</td>
</tr>

<tr>
<td>Select-Paper</td>
<td>
<select name="paper">
      <option>Select-Paper</option>
      <option value="Web designing">Web designing</option>
      <option value="Graphic designing">Graphic designing</option>
      <option value="Hardware">Hardware</option>
      <option value="IELTS">IELTS</option>
      <option value="JAVA">JAVA</option>
</select>
</td>
<td>Picture</td>
<td><input type="file" name="upload">
</td>
</tr>
</table>
<br>
<br>
<br>
<br>
<table border="1" align="center" width="1000">
<tr>
<td>
<h1 align="left">Q1.What Is HTML???</h1>
<input type="radio" name="q1" value="10">Hypertext Markup Language
<br>
<br>
<input type="radio" name="q1" value="0">Hyper markup languages
<br>
<br>
<input type="radio" name="q1" value="0">text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q2.What Is Css???</h1>
<input type="radio" name="q2" value="10">Cascading Style Sheets
<br>
<br>
<input type="radio" name="q2" value="0">Computer Style Sheets
<br>
<br>
<input type="radio" name="q2" value="0">Camera Style Sheets
<br>
<br>
<input type="radio" name="q2" value="0">daynamic Style Sheets

</td>
</tr>

<tr>
<td>
<h1 align="left">Q3.What Is Flash???</h1>
<input type="radio" name="q3" value="10">multimedia
<br>
<br>
<input type="radio" name="q3" value="0">aminnatinon
<br>
<br>
<input type="radio" name="q3" value="">multimedia
<br>
<br>
<input type="radio" name="q3" value="0">multimedia

</td>
</tr>

<tr>
<td>
<h1 align="left">Q4.What Is Adobe Photoshop???</h1>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="10">Adobe Photoshop is a raster graphics editor developed and published by Adobe Systems for Windows and OS X.
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q5.What Is PHP???</h1>
<input type="radio" name="q5" value="10">Hypertext Preprocessor
<br>
<br>
<input type="radio" name="q5" value="0">Preprocessor
<br>
<br>
<input type="radio" name="q5" value="0">text Preprocessor
<br>
<br>
<input type="radio" name="q5" value="0">Hyper Preprocessor

</td>
</tr>


<tr>
<td align="center">
<input type="Submit" value="Paper Complete">
</td>
</tr>
</form>
</table>






info


<!DOCTYPE html>
<html>
<head>
</head>
<body>


<?php
$server="localhost";
$user="root";
$password="";
$database="exam";
$con=mysql_connect($server,$user,$password);
mysql_select_db($database,$con);




$rollno=$_POST["rollno"];
$name=$_POST["name"];
$teacher=$_POST["teacher"];
$timing=$_POST["timing"];
$paper=$_POST["paper"];

$name1=$_FILES["upload"]["name"];
$type=$_FILES["upload"]["type"];
$size=$_FILES["upload"]["size"]/1024;
$path=$_FILES["upload"]["tmp_name"];
move_uploaded_file($path,"file/".$name1);





$q1=$_POST["q1"];
$q2=$_POST["q2"];
$q3=$_POST["q3"];
$q4=$_POST["q4"];
$q5=$_POST["q5"];

$obtainedmarks=($q1+$q2+$q3+$q4+$q5);
$totalmarks=50;
?>

<table align="center" border="1" width="700" height="330">
<tr>
<td colspan="3"><h1 align="center"> Result Card </h1></td>
</tr>
<tr>
<td width="150"><b>Roll No.</b></td>
<td width="350"><?php echo $rollno;?></td>
<td rowspan="7" width="100">
<?php echo '<img src="file/'.$name1.'" width="200" height="240"> ';?>
</td>
</tr>
<tr>
<td><b>Name</b></td>
<td><?php echo $name;?></td>

</tr>
<tr>
<td><b>Teacher</b></td>
<td><?php echo $teacher;?></td>
</tr>
<tr>
<td><b>Timing</b></td>
<td><?php echo $timing;?></td>
</tr>
<tr>
<td><b>Paper</b></td>
<td><?php echo $paper;?></td>
</tr>
<tr>
<td><b>Obtained Marks</b></td>
<td><?php echo $obtainedmarks;?></td>
</tr>

<tr>
<td><b>Total Marks</b></td>
<td><?php echo $totalmarks;?></td>
</tr>
</table>
<table align="center" border="1" width="700" height="300">
<tr>
<td colspan="2"><h2 align="center">Questions and Marks </h2></td>
</tr>

<tr>
<?php if($q1==10){ ?>
<td><b>Q1.What Is HTML???</b></td>
<?php } ?>
<?php if($q1==0){ ?>
<td><font color="red"><b>Q1.What Is HTML???</b></font></td>
<?php } ?>
<?php if($q1==10){ ?>
<td><?php echo $q1;?></td>
<?php } ?>
<?php if($q1==0){ ?>
<td><font color="red"><?php echo $q1;?></font></td>
<?php } ?>
</tr>


<tr>
<?php if($q2==10){ ?>
<td><b>Q2.What Is Css???</b></td>
<?php } ?>
<?php if($q2==0){ ?>
<td><font color="red"><b>Q2.What Is Css???</b></font></td>
<?php } ?>
<?php if($q2==10){ ?>
<td><?php echo $q2;?></td>
<?php } ?>
<?php if($q2==0){ ?>
<td><font color="red"><?php echo $q2;?></font></td>
<?php } ?>
</tr>

<tr>
<?php if($q3==10){ ?>
<td><b>Q3.What Is Flash???</b></td>
<?php } ?>
<?php if($q3==0){ ?>
<td><font color="red"><b>Q3.What Is Flash???</b></font></td>
<?php } ?>
<?php if($q3==10){ ?>
<td><?php echo $q3;?></td>
<?php } ?>
<?php if($q3==0){ ?>
<td><font color="red"><?php echo $q3;?></font></td>
<?php } ?>
</tr>

<tr>
<?php if($q4==10){ ?>
<td><b>Q4.What Is Adobe Photoshop???</b></td>
<?php } ?>
<?php if($q4==0){ ?>
<td><font color="red"><b>Q4.What Is Adobe Photoshop???</b></font></td>
<?php } ?>
<?php if($q4==10){ ?>
<td><?php echo $q4;?></td>
<?php } ?>
<?php if($q4==0){ ?>
<td><font color="red"><?php echo $q4;?></font></td>
<?php } ?>
</tr>

<tr>
<?php if($q5==10){ ?>
<td><b>Q5.What Is PHP???</b></td>
<?php } ?>
<?php if($q5==0){ ?>
<td><font color="red"><b>Q5.What Is PHP???</b></font></td>
<?php } ?>
<?php if($q5==10){ ?>
<td><?php echo $q5;?></td>
<?php } ?>
<?php if($q5==0){ ?>
<td><font color="red"><?php echo $q5;?></font></td>
<?php } ?>
</tr>

</table>
<?php

mysql_query("insert into data (rollno,name,teacher,timing,paper,picture,q1,q2,q3,q4,q5,obtainedmarks,totalmarks) values('$rollno','$name','$teacher','$timing','$paper','$name1','$q1','$q2','$q3','$q4','$q5','$obtainedmarks','$totalmarks')");

?>
</body>
</html>


Sunday, 21 September 2014

ino

<?php
$rollno=$_POST["rollno"];

$name=$_POST["name"];
$teacher=$_POST["teacher"];
$timing=$_POST["timing"];
$paper=$_POST["paper"];
$photo=$_POST["photo"];

$q1=$_POST["q1"];
$q2=$_POST["q2"];
$q3=$_POST["q3"];
$q4=$_POST["q4"];
$q5=$_POST["q5"];

echo "$rollno";
echo "<br>";
echo "$name";
echo "<br>";
echo "$teacher";
echo "$timing";
echo "$paper";
echo "$photo";
echo ($q1+$q2+$q3+$q4+$q5);
?>










<body bgcolor="white">
<h1 align="center">Online Examination System</h1>
<table width="900" align="center">
<form action="info.php" method="POST">
<tr>
<td>Rollno</td>
<td>
<input type="text" name="rollno" size="40">
</td>
<td>Name</td>
<td>
<input type="text" name="name" size="40">
</td>
</tr>

<tr>
<td>Teacher</td>
<td>
<select name="teacher">
      <option>Select-Teacher</option>
      <option value="Sir Majid">Sir Majid</option>
      <option value="Sir Tahir">Sir Tahir</option>
      <option value="Sir Ali">Sir Ali</option>
      <option value="Sir Atif">Sir Atif</option>
      <option value="Sir Javed">Sir Javed</option>
</select>
</td>
<td>Timing</td>
<td>
<select name="timing">
      <option>Select-Paper-Timing</option>
      <option value="09:00 am">09:00 am</option>
      <option value="10:00 am">10:00 am</option>
      <option value="11:00 am">11:00 am</option>
      <option value="12:00 pm">12:00 pm</option>
      <option value="01:00 pm">01:00 pm</option>
</select>
</td>
</tr>

<tr>
<td>Select-Paper</td>
<td>
<select name="paper">
      <option>Select-Paper</option>
      <option value="Wed designing">Web designing</option>
      <option value="Graphic designing">Graphic designing</option>
      <option value="Hardware">Hardware</option>
      <option value="IELTS">IELTS</option>
      <option value="JAVA">JAVA</option>
</select>
</td>
<td>Upload Photo</td>
<td><input type="file" name="photo">
</td>
</table>
<br>
<br>
<br>
<br>
<table border="1" align="center" width="1000">
<tr>
<td>
<h1 align="left">Q1.What Is HTML???????</h1>
<input type="radio" name="q1" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q2.What Is HTML???????</h1>
<input type="radio" name="q2" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q3.What Is HTML???????</h1>
<input type="radio" name="q3" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q4.What Is HTML???????</h1>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="10">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q5.What Is HTML???????</h1>
<input type="radio" name="q5" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages

</td>
</tr>


<tr>
<td align="center">
<input type="Submit" value="Paper Complete">
</td>
</tr>
</form>
</table>

Thursday, 18 September 2014

php paper and result

<body bgcolor="#FF9900">
<h1 align="center">Online Examination System</h1>
<table width="900" align="center">
<form action="result.php">
<tr>
<td>Rollno</td>
<td>
<input type="text" name="Rollno" size="40">
</td>
<td>Name</td>
<td>
<input type="text" name="Name" size="40">
</td>
</tr>

<tr>
<td>Teacher</td>
<td>
<select name="teacher">
      <option>Select-Teacher</option>
      <option value="Sir Majid">Sir Majid</option>
      <option value="Sir Tahir">Sir Tahir</option>
      <option value="Sir Ali">Sir Ali</option>
      <option value="Sir Atif">Sir Atif</option>
      <option value="Sir Javed">Sir Javed</option>
</select>
</td>
<td>Timing</td>
<td>
<select name="timing">
      <option>Select-Paper-Timing</option>
      <option value="09:00 am">09:00 am</option>
      <option value="10:00 am">10:00 am</option>
      <option value="11:00 am">11:00 am</option>
      <option value="12:00 pm">12:00 pm</option>
      <option value="01:00 pm">01:00 pm</option>
</select>
</td>
</tr>

<tr>
<td>Select-Paper</td>
<td>
<select name="paper">
      <option>Select-Paper</option>
      <option value="Wed designing">Web designing</option>
      <option value="Graphic designing">Graphic designing</option>
      <option value="Hardware">Hardware</option>
      <option value="IELTS">IELTS</option>
      <option value="JAVA">JAVA</option>
</select>
</td>
<td>Upload Photo</td>
<td><input type="file" name="photo">
</td>
</table>
<br>
<br>
<br>
<br>
<table border="1" align="center" width="1000">
<tr>
<td>
<h1 align="left">Q1.What Is HTML???????</h1>
<input type="radio" name="q1" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q2.What Is HTML???????</h1>
<input type="radio" name="q2" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q3.What Is HTML???????</h1>
<input type="radio" name="q3" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q4.What Is HTML???????</h1>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="10">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q5.What Is HTML???????</h1>
<input type="radio" name="q5" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages

</td>
</tr>


<tr>
<td align="center">
<input type="Submit" value="Paper Complete">
</td>
</tr>
</fo
</table>





















<?php
$name=$_POST["name"];

$q1=$_POST["q1"];
$q2=$_POST["q2"];
$q3=$_POST["q3"];
$q4=$_POST["q4"];
$q5=$_POST["q5"];

echo "$name"


echo "<h1> Total marks" . ($q1 + $q2 + $q3 + $q4 + $q5). "</h1>" ;
?>

Tuesday, 16 September 2014

comments box complete

<h1 align="center">New User</h1>
<form method="post" action="info.php">
<table border="1" width="440" height="" align="center">
<tr>
<td width="80">First Name</td>
<td><input type="text" size="50" name="first"></td>
</tr>
<tr>
<td width="80">Last Name</td>
<td><input type="text" size="50" name="last"></td>
</tr>
<tr>
<td width="80">Email Adress</td>
<td><input type="text" size="50" name="email"></td>
</tr>
<tr>
<td width="70">Password</td>
<td><input type="password" size="50" name="Password"></td>
</tr>
<tr>
<td width="70" >Gender</td>
<td><input type="radio" size="50" name="gender" value="male">Male
<input type="radio" size="50" name="gender" value="female">Female
</td>
</tr>

<tr>
<td width="70">Hobbies</td>
<td><input type="checkbox" size="50" name="ball" value="male">Football
<input type="checkbox" size="50" name="crikt" value="female">Cricket
<input type="checkbox" size="50" name="bok" value="female">Books
</td>
</tr>

<tr>
<td width="100">Country</td>
<td>
<select name="c">
<option>Select-Country</option>
<option value="pk">Pakistan</option>
<option value="ind">India</option>
<option value="jap">Japan</option>
<option value="chi">China</option>
<option value="hong">Hong Kong</option>
<option value="aus">Australia</option>
<option value="eng">England</option>
</tr>

<tr>
<td width="100">Upload</td>
<td>
<input type="file" name="upl">Browser
</td>
</tr>

<tr>
<td width="100">Comments</td>
<td>
<textarea cols="20" rows="5" name="comments"></textarea>
</td>
</tr>


<tr>
<td width="70">Complete</td>
<td><input type="submit" size="50" name="submit">
<input type="reset" size="50" name="reset">
</td>
</tr>
</table></form>







<?php
$firstname=$_POST["first"];
$lastname=$_POST["last"];
$emailadress=$_POST["email"];
$password=$_POST["password"];
$gender=$_POST["gender"];
$gender=$_POST["gender"];
$hobbies=$_POST["ball"];
$hobbies=$_POST["crikt"];
$hobbies=$_POST["bok"];
$country=$_POST["c"];
$upload=$_POST["upl"];
$comments=$_POST["comments"];
$complete=$_POST["submit"];



echo "$firstname";
echo "<br>";
echo "$lastname";
echo "<br>";
echo "$emailadress";
echo "<br>";
echo "$password";
echo "<br>";
echo "$gender";
echo "<br>";
echo "$hobbies";
echo "<br>";
echo "$country";
echo "<br>";
echo "$upload";
echo "<br>";
echo "$comments";
echo "<br>";
echo "$complete";

?>

data base php

<form method="post" action="information.php">
Email<input type="email" name="email">
<br>
Password<input type="password" name="password">
<br>
<input type="submit" value="Send Info">
</form>



<?php
$server="localhost";
$user="root";
$password="";
$database="mydata";
$con=mysql_connect($server,$user,$password);
if(!$con)
{
echo "<h1>Not Connection</h1>";
}
else
{
echo "<h1>Sever Connected</h1>";

}
$db=mysql_select_db($database,$con);

if(!$db)
{
echo "<h1>No Database</h1>";
}
else
{
echo "<h1>Database Connected </h1>";

}


$email=$_POST["email"];
$password=$_POST["password"];
echo $email . $password;
?>

Sunday, 7 September 2014

HTML Website

<html>
<head>
<title>Home Page</title>
<body align="center"><font color="red" size="5"></font>
<table border="0" bordercolor="#FFFFFF" width="1135" height="300" align="center">
<tr>
<td align="center"><img src="images/1.jpg" width="1100" height="300"></img></td>
</tr>
<body bgcolor="#CC3300"></body>
</table>
<table border="0" bordercolor="#FFFFFF" width="1135" height="100" align="center">
<tr>
<td>
<td align="center"><a href="http://utvhot.blogspot.com"><font color="#00FFFF" size="5">Home</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/beauty"><font color="#00FFFF"size="4">Beauty</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/fashion"><font color="#00FFFF"size="4">Fashion</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Makeup"><font color="#00FFFF"size="4">Makeup</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Cosmetics"><font color="#00FFFF"size="4">Cosmetics</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/health"><font color="#00FFFF"size="4">Health</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/hair%20style"><font color="#00FFFF"size="4">Hair Style</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/dress%20Designing"><font color="#00FFFF"size="4">Dresses</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Showbiz"><font color="#00FFFF"size="4">Showbiz</font></a></td>
</td></tr>

</table>
<table border="0" bordercolor="#FFFFFF" width="1135" height="" align="center">
<tr>
<td align="center" width="136" height=""><a href="http://utvhot.blogspot.com/search/label/latest%20news"><font color="#00FFFF" size="4">Latest News</a></td></font>
<td align="center" width="1135" height="40"><marquee behavior="alternate" onMouseOver="stop ()" onMouseOut="start ()"><a href="http://utvhot.blogspot.com/2014/06/ltest-shoulder-flowers-ruffles-fashion.html"><font color="#00FFFF" size="4">Latest fashion design for girls in all world</a></font></marquee></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="1135" height="668" align="center">
<tr>
<td valign="top" width="300" height="500">
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center" valign="top"><a href="http://www.technologycollections.com"><font color="#00FFFF" size="4" style="color:blue";>www.Technologycollections.com</a></font></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.msn.com/"><font color="#00FFFF" size="4">www.usaallfun.blogspot.com</a></font></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://google.com/"><font color="#00FFFF" size="4">www.allfunusa.blogspot.com</a></font></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://utvhot.blogspot.com/"><font color="#00FFFF" size="4">www.utvhot.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.google.com/trends/"><font color="#00FFFF" size="4">www.Technology283.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.technology285.blogspot.com/"><font color="#00FFFF" size="4">www.Technology285.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://mobilerepair12.blogspot.com/"><font color="#00FFFF" size="4">www.Mobilerepair12.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://usaallfun.blogspot.com/"><font color="#00FFFF" size="4">www.allfun62.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://usaallfun.blogspot.com/"><font color="#00FFFF" size="4">www.usaallfuns.blogspot.com</font></a></td>
</tr>
</table>
<font color="#00FFFF" size="4"></td>
<td width="600" height="500" align="center"><font size="4"><font color="#00FFFF" size="4"><p>Artical</p></font></td>
<td valign="top" width="398" height="500">
<table border="0" bordercolor="#FFFFFF" width="397" height="321" align="center">
<tr>
<td align="center" bordercolor="#FFFFFF"><font color="#00FFFF" size="4"> <a href="images/2.jpg"> <img src="images/2.jpg" width="396" height="320"></img></font></td>
</tr>
<table border="0" bordercolor="#FFFFFF" width="397" height="350" align="center">
<tr>
<td align="center"><font color="#00FFFF" size="4"><a href="images/3.jpg"> <img src="images/3.jpg" width="396" height="350"></img></font></td>
</tr>
</table>
</body>
</head>
</html>

Auto Pic Change Gallery After 3 Seconds

<script>
img=0;
function abc()
{
if(img==1)
{
document.getElementById("change").src= "images/3.jpg";
}
if(img==2)
{
document.getElementById("change").src= "images/2.jpg";
}
if(img==3)
{
document.getElementById("change").src= "images/4.jpg";
}
if(img==3)
{
img=0;
}
img++;
setTimeout("abc()",2000);
}

</script>
<body onLoad="abc()">

<center><img src="images/1.jpg" id="change" width="500" height="400" border="10">
</center>

double Home settings

<style>
#ul
{
list-style-type:none;
}
#li
{
float:left;
}
a#new:link
{
display:block;
width:75px;
height:25px;

}
a.check:hover
{
color:white;
font-weight:bold;
background-color:blue;
}




#ul1
{
list-style-type:none;
}




a#new1:link
{
display:block;
width:50px;
height:25px;
border-radius:50px;
}
a.check1:hover
{
color:white;
font-weight:bold;
background-color:green;
}


</style>

<ul id="ul">
<li id="li"><a href="http://www.google.com" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
</ul>

<br>
<br>
<br>
<br>

<ul id="ul1">
<li><a href="http://www.google.com" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
</ul>

Pass/Fail

<html>
<head>
<title>welcome</title>

<script>
sr=1;
rollno="W-21212";
name="Asif";
eng=90;
urdu=18;
math=15;
total=300;

obtained=math+urdu+eng;
per=obtained*100/total;
if(per>40)
{
ans="Pass";
}
else
{
ans="Fail";
}

</script>
</head>
<body>
<h1 align="center">Result Card</h1>
<table border="1" width="350" align="center">


<tr>
<td width="100">Sr#</td>
<td><script>document.write(sr);</script></td>
</tr>


<tr>
<td width="100">Roll No</td>
<td><script>document.write(rollno);</script></td>
</tr>


<tr>
<td width="100">Name</td>
<td><script>document.write(name);</script></td>
</tr>


<tr>
<td width="100">English</td>
<td><script>document.write(eng);</script></td>
</tr>


<tr>
<td width="100">Urdu</td>
<td><script>document.write(urdu);</script></td>
</tr>



<tr>
<td width="100">Math</td>
<td><script>document.write(math);</script></td>
</tr>




<tr>
<td width="100">Total Marks</td>
<td><script>document.write(total);</script></td>
</tr>


<tr>
<td width="100">Obtained Marks</td>
<td><script>document.write(obtained);</script></td>
</tr>


<tr>
<td width="100">Percentage</td>
<td><script>document.write(per);</script></td>
</tr>

<tr>
<td width="100">Pass/Fail
</td>
<td><script>document.write(ans);</script></td>
</tr>
</table>
</body>
</html>

dynamic result card

<html>
<head>
<title>Result Card</title>

<script>
sr=1;

rollno=prompt("Type Your RollNo","");
name=prompt("Type Your Name","");
english=prompt("Type Your English Marks","");
math=prompt("Type Your Math Marks","");
urdu=prompt("Type Your Urdu Marks","");
total=300;
obtained=eval(english)+eval(math)+eval(urdu);
percentage=obtained*100/total;

if(percentage>30)
{
ans="Pass";
}
else
{
ans="Fail";
}

check=confirm("Are You Sure");
if(check==true)
{
document.write("<tabke>");
}
else
{
document.write("Result Not found");
}

document.write(check);
</script>
</head>
<!--
<body>
<h1 align="center">Result Card</h1>
<table border="1" width="400" align="center">

<tr>
<td width="100">Sr#</td>
<td><script>document.write(sr);</script></td>
</tr>

<tr>
<td>Roll No</td>
<td><script>document.write(rollno);</script></td>
</tr>

<tr>
<td>Name</td>
<td><script>document.write(name);</script></td>
</tr>


<tr>
<td>English</td>
<td><script>document.write(english);</script></td>
</tr>


<tr>
<td>math</td>
<td><script>document.write(math);</script></td>
</tr>

<tr>
<td>urdu</td>
<td><script>document.write(urdu);</script></td>
</tr>

<tr>
<td>Total Marks</td>
<td><script>document.write(total);</script></td>
</tr>

<tr>
<td>Obtained Marks</td>
<td><script>document.write(obtained);</script></td>
</tr>

<tr>
<td>Percentage</td>
<td><script>document.write(percentage);</script></td>
</tr>

<tr>
<td>Pass/Fail</td>
<td><script>document.write(ans);</script></td>
</tr>
</table>
</body>
-->
</html>

DHTML color change

<html>
<head>
<title>welcome</title>
<script>
function abc()
{
document.getElementById("check").align="center";
}
function abc1()
{
document.getElementById("check").align="right";
}

function abc2()
{
document.getElementById("check").align="left";
}

function abc3()
{
document.getElementById("check1").color="red";
}
function abc4()
{
document.getElementById("check1").color="green";
}

function abc5()
{
document.getElementById("check1").color="blue";
}
</script>
</head>
<body>
<p id="check"><font id="check1">we are programer..
we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer.. </font></p>
<button onClick="abc2()">Left</button>
<button onClick="abc()">Center</button>
<button onClick="abc1()">Right</button>

<button onClick="abc3()">Red</button>
<button onClick="abc5()">Blue</button>
<button onClick="abc4()">Green</button>
</body>
</html>

Time controls

<script>
function abc()
{
x=new Date();
hours=x.getHours();
minutes=x.getMinutes();
seconds=x.getSeconds();
if (minutes < 10) minutes = "0" + minutes;
if (seconds< 10) seconds= "0" + seconds;
document.getElementById('check').innerHTML
     = "Time: " + hours + "/" + minutes + "/" + seconds;
setTimeout("abc()",1000);
}

/*
document.write("Hours = " + x);
document.write("<br>");
document.write("Hours= " + hours);
document.write("<br>");
document.write("Minutes = " + minutes);
document.write("<br>");
document.write("Seconds = " + seconds);

*/
</script>
<body onLoad="abc()">
<h1 align="center" id="check" style="font-size:50px;"></h1>

audio and video tag

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table border="1" width="1000" align="center">
<tr>
<td>sr#</td>
<td>Song title</td>
<td>Play Online Audio</td>
<td>Play Online Video</td>
<td>Download Audio</td>
<td>Download Video</td>
</tr>
<tr>
<td>1</td>
<td>song 1</td>
<td>
<audio controls>
<source src="1.mp3">
<source src="1.ogg">
</audio>
<br>
<a href="1.mp3" Download>Download Audio</a>
</td>
<td>
<object width="160" height="144">
<param name="autoplay" value="false">

<embed src="3.flv" width="300" height="300"
autoplay="false" controller="true">
</embed>

</object>
<!--
<video controls width="300" height="200">
<source src="2.mp4">
<source src="1.ogg">
</video>
-->
</td>
<td><a href="1.mp3" Download>Download Audio</a></td>
<td><a href="3.flv" Download>Download Video</a></td>
</tr>
</table>




</body>
</html>