Monday, March 05, 2012

MCSL- 016 Assignment IGNOU 2012

This is not complete in a manner Please Complete it with Your Self. Thank You!!!!


Question 1
<html>
<frameset cols = "40%,15%,15%,15%,15%">
<frameset rows = "20%,80%">
<frame src = "">
<frame src = "">
</frameset>
<frame src = "">
<frame src = "">
<frameset rows = "20%,80%">
<frame src = "">
<frame src = "">
</frameset>
<frame src = "">
</frameset>
</html>


Question 2

<html>
<head>
<title>
GIVE FROM OWNSIDE
</title>
</head>
<body>
<form name="Tick">
 <input type="text" size="11" name="Clock">
</form>
<script type ="text/javascript">
function show(){
 var Digital=new Date()
 var hours=Digital.getHours()
 var minutes=Digital.getMinutes()
 var seconds=Digital.getSeconds()
 var dn="AM"
 if (hours>12){
 dn="PM"
 hours=hours-12
 }
 if (hours==0)
 hours=12
 if (minutes<=9)
 minutes="0"+minutes
 if (seconds<=9)
 seconds="0"+seconds
 document.Tick.Clock.value=hours+":"+minutes+":"
 +seconds+" "+dn
 setTimeout("show()",1000)
 }
 show()
</script>
</body>
</html> 


Question 3
<html>
 <head>
 <title>
 ROLLOVER EFFECT
 </title>
 </head>
 <body>
 <img name = "image" src = "1.png" onmouseover = "overfunction()" onmouseout = "outfunction()">
 <script type="text/vbscript">
 function overfunction()
 document.image.src = "2.png"
 end function
 function outfunction()
document.image.src = "1.png"
 end function
 </script>
 </body>
 </html>


Question 4

<html>
<head>
<title>
GIVE FROM OWNSIDE
</title>
</head>
<body>
<table border = "2" cellpadding = "10", cellspacing = "5" bgcolor = " GIVE FROM OWNSIDE">
<caption> STATUS GIVE FROM OWNSIDE</caption>
<tr>
<th>Train No.</th>
<th>Starting From</th>
<th>Destination</th>
<th>Departure Time</th>
<th>Arrival Time</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
Note: Fill <td>anything you want </td> with the data


Question  5

<html>
 <head>
 <title>My Page</title>
 </head>
 <body>
 <form name="Tick">
 <input type="text" size="11" name="Clock">
</form>
<script type ="text/javascript">
function show(){
 var Digital=new Date()
 var hours=Digital.getHours()
 var minutes=Digital.getMinutes()
 var seconds=Digital.getSeconds()
 var dn="AM"
 if (hours>12){
 dn="PM"
 hours=hours-12
 }
 if (hours==0)
 hours=12
 if (minutes<=9)
 minutes="0"+minutes
 if (seconds<=9)
 seconds="0"+seconds
 document.Tick.Clock.value=hours+":"+minutes+":"
 +seconds+" "+dn
 setTimeout("show()",1000)
 }
 show()
</script>
<FORM NAME="nav"><DIV>
<SELECT NAME="SelectURL" onChange=
"document.location.href=
document.nav.SelectURL.options[document.nav.SelectURL.selectedIndex].value">
<OPTION VALUE="home.html"
SELECTED>Please select an item:
<OPTION VALUE="forms/">
Main page on HTML forms
<OPTION VALUE="choices.html">
Choices in HTML forms
<OPTION VALUE="tables.html">
Tables and forms
<OPTION VALUE="methods.html">
Form submission methods (GET and POST)
</SELECT><DIV>
</FORM>

<table border = "2" cellpadding = "10" cellspacing = "5">
<tr>
<td><h3>IMAGEs</h3>
<td><img src = "1.png">
<td><img src = "2.png">
</tr>
<tr>
<td><h3>AUDIO</h3>
<td colspan = "2"><audio controls="controls" height="50px" width="500px">
   <source src="song.mp3" type="audio/mpeg" />
   <source src="song.ogg" type="audio/ogg" />
 <embed height="50px" width="500px" src="song.mp3" />
 </audio>
</tr>
<tr>
<td><h3>ANIMATION</h3>
<td colspan = "2"><object type="application/x-shockwave-flash" data="ani.swf" height = "100" width = "500px">
                                                                                <param name="movie" value="ani.swf" />
                                                                </object>
</tr>
</table>
 </body>
 </html>

IF You have any problem than leave comment!!!!!!!!!

No comments:

Post a Comment