Practical File 2024-25f
Practical File 2024-25f
Laboratory Certificate
INFORMATION TECHNOLOGY
Information Technology as per the Syllabus said down by the HSC Board, Pune during the
Answer:-
Page1- Main.html
<html>
<head>
</head>
<body background="Tulips.jpg">
</center></h1>
<h2><marquee>Malad West</marquee></h2>
<br>
<br>
<br>
<nav>
</nav>
</body>
</html>
Page2- Index.html
<html>
<head>
h1{color:blue;text-align:center;} b{font-size:50px;}
body{background-image:url('Tulips.jpg');background-size:cover;}
</style>
</head>
<body>
<nav>
</nav>
</body>
</html>
<html>
<head>
</head>
<body bgcolor="lightgreen">
<h3>Firstname:<input type="text"></h3>
<h3>Lastname:<input type="text"></h3>
<h3>Gender
</h3>
<h3>Email-Id:<input type="email"></h3>
</form>
</body>
</html>
Output:
Practical No.2
(Q2) SOP-2 :Create a webpage using HTML and CSS code to design a webpage.
Answer:-
SOP2.html
<html>
<head>
<style>
section{background-color:yellow;width:50%;height:50%; float:left;color:black;font-
size:30px;outline-style:solid;} aside{background-color:pink;width:50%;height:50%;
float:right;color:black;font-size:30px;outline-style:solid;}
</style>
</head>
<body>
<header style="background-color:lightblue;color:deeppink;text-align:center;
height:30%;width:100%;font-size:50px;outline-style:solid">Tourist places
</header>
<header>
<section>
<ol>
</ol>
</section>
<aside>
<ul>
</ul>
</aside>
</header>
</body>
</html>
Output:
Practical No.3
(Q3) SOP-3 Use of Audio webpages using HTML5
Answer:-
Audio.html
<html>
<head>
</head>
<body>
</audio>
</body>
</html>
Audio1.html
<!DOCTYPE html>
<html>
<body>
<source src="Side - A.wav" type="audio/wav"> Your browser does not support the
audio element.
</audio>
</body>
</html>
Practical No.4
Answer:-
1) Create a webpage named video.html to display a video file on web page and plays
automatically with controls. The dimension of video area should be 150* 150 pixels.
HTML PROGRAM :-
<html>
<head>
</head>
<body>
</video>
</body>
</html>
2) Create another webpage which provide multiple source file formats for the same
video file that plays a video automatically with controls. The dimension of video area
should be 100* 100 pixels. The browser should display the message with appropriate
attribute when video file is not supported by browser. The code must incorporate the list
of video files formats (like webM, MP4 or ogg etc).
HTML PROGRAM :-
</html>
<html>
<head>
</head>
<body>
</video>
</body>
</html>
Practical No.5
• Keywords are not distributed well across the important HTML tags.ie improve
keyword consistency • Page speed is good
For OFFPAGESEO
Importance of SEO
• It is the technique for designing and developing a website to be rank high in search
engine results.
Answer:-
index.html
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript">
function ValidateEmail(inputText)
if(inputText.value.match(mailformat))
document.form1.text1.focus();
return true;
else
document.form1.text1.focus();
return false;
</script>
</head>
<body>
<h1>Information Form</h1>
<table>
<tr>
<td>Your Name</td>
</tr>
<tr>
<td>Address</td>
</tr>
<tr>
<td>Contact</td>
</tr>
<tr>
<td>E-mail</td>
</tr>
<tr>
</tr>
</table>
</form>
</body>
</html>
Practical No.7
Answer:-
index.html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
function getVowels() {
var vowelsCount = 0;
vowelsCount += 1;
return vowelsCount;
</script>
<tr>
<p id="demo"></p>
</body>
</html>
Practical No.8
Answer:-
js1.html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body id="background">
<script>
var i = 0;
function change() {
doc.style.backgroundColor = color[i];
i = i+1;
if(i==7){
doc.style.backgroundColor = "white";
function click_btn() {
</script>
</html>
FirstJs.html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body id="background">
<script>
var i = 0;
function change() {
doc.style.backgroundColor = color[i];
i = i+1;
if(i==7){
doc.style.backgroundColor = "white";
function click_btn() {
</script>
</html>
Practical No.9
date.html
<htm1>
<head>
<script type="text/javascript">
function GetDays(LDatel, i_Date2)
{
var str=i Date l;
var day = str.slice(O, 2);
var month = str.slice(3, 5);
var year = str.slice(6, 10);
//this is first date
dtl =new Date(month + "/" + day + "/" + year);
var strl=i_Date2;
var dayl = strl.slice(O, 2);
var monthl = strl.slice(3, 5);
var year! = strl.slice(6, 10);
// this is second date
dt2 =new Date(monthl + "/" + dayl + "/" + yearl);
var one_day=lOOO*60*60*24;
var datelms = dtl.getTime();
var date2_ms = dt2.getTime();
var difference_ms = date2_ms – datel_ ms;
<br>
Output:
Practical No.10
Answer:-
index.html
<!DOCTYPE html>
<html>
<head>
<title>Enter Marks</title>
<script type="text/javascript">
function submit_marks() {
var grade;
grade = 'F';
grade = 'D';
grade = 'C';
}
else if(per>=81 && per<=90){
grade = 'B';
grade = 'A';
else{
</script>
</head>
<body>
<div id="demo"></div>
</body>
</html>
Practical No.11
age.html
<html>
<body>
<hl align="center">Person Eligible to vote or not</hl>
<form method= "post" action="age.php">
Enter Your age
<input type="text" name= “age”> <br> <br>
<input type="submit" name="submit" value="Check Eligible">
</fonn> </body>
</html>
age.php
<?php
if(isset($ _POST[' submit']))
{
$age = $_POST['age'];
if($age>=18)
Output:
Practical No.12
array.php
<?php
$ml=
array("English"=>"55",
"Hindi"=>"60",
"Maths"=>"70",
"Marathi" => "85");