11th Std Answer Copy I.T. Journal _2024
11th Std Answer Copy I.T. Journal _2024
Answer:
<html>
<head>
<title>sop1</title>
</head>
<body bgcolor=”green” text= “red”>
<h1> My First Web Page </h1>
<hr width=””>
<b> APK College</b>
<br>
<i>Pune</i>
<br>
Standard 11th.
</body>
</html>
SOP 2: Create a web page with, following specifications.
<html>
<head>
<title>sop2</title>
</head>
<body>
<imgsrc=”Albert Einstein.jpg” alt=”Albert Einstein”>
<br>
<p>
Albert Einstein was a German-born theoretical physicist who developed the theory of
relativity,<br> one of the two pillars of modern physics.His work is also known for its
influence on the philosophy of science.
</p>
<table border=5 bordercolor=pink>
<tr>
<th>Sr no.</th>
<th> Invention </th>
<th> Year</th>
</tr>
<tr>
<td>1</td>
<td>Quantum Theory of Light </td>
<td>1905</td>
</tr>
<tr>
<td>2</td>
<td>Theory of Relativity</td>
<td>1907</td>
</tr>
</table>
</body>
</html>
SOP 3: Create a webpage with the following specifications.
<html>
<head><title> sop3</title>
</head>
<body>
<h1 align=center> Application Form </h1>
<form>
Enter Name:<input type=”text” name=”t1”>
<br><br>
Standard:<br>
<input type=”radio” name=r1>11th<br>
<input type=”radio” name=r1>12th<br>
<br><br>
<input type=”submit” value=”Submit”>
</form>
</body>
</html>
SOP 4: Write a program using HTML with the following specification.
A webpage with details about a class with a total number of students-100, (Boys – 50),
Girls – 50 in tabular form.
e.g.
Demo.html
Answer:
<html>
<head>
<title>New Page 1</title>
</head>
<body>
<center>
<table border=”1” width=”69%” >
<trbgcolor=pink>
<td>Number of Students</td>
<td>Boy</td>
<td>Girls</td>
</tr>
<trbgcolor=”lightgreen”>
<td>100</td>
<td>50</td>
<td>50</td>
</tr>
</table>
</body>
</html>
Demo
<html>
<head>
<title>the heading</title>
</head>
<BODY>
<header>
<center>
<table border=”1” align=center>
<tr align=center>
<td>
Using form tag create a Login ID form, with login ID, Password and submit
button
Answer:-
<html>
<head>
<title>login Id Form</title>
</head>
<body bgcolor="pink">
<form>
<br>
<br>
<br>
</form>
</body>
</html>
Group B
vara,no,ans;
a=prompt(Enter any value’);
no=parseInt(a);
ans=no*3;
document. write(“The answer is :”+ans);
</script>
</body>
</html>
<head>
<title>even or odd</title>
</head>
<body bgcolor="#20546565">
<script language="javascript">
var a;
a=prompt("enter the value for a");
if(a%2==0)
{
document.write("number is even");
alert("number is even");
}
else
{
document.write("number is odd");
alert("numbre is odd");
}
</script>
</body>
</html>
SOP 3: Create a JavaScript program for the following using appropriate variables,
JavaScript inbuilt functions, and control structures.
Answer:
To accept number and display square of it.
<html>
<head>
<title>To accept number and display square of it</title>
</head>
<body>
<script language-’j avascript”>
varno,sqr;
no=prompt(‘Enter Any number’);
sqr=no*no;
document, write (“The Square is=”+sqr);
</script>
</body>
</html>
SOP 4: Create a JavaScript program for the following using appropriate variables,
JavaScript inbuilt string functions, and control structures.
<head>
<title> To accept string and display it into lowercase and uppercase</title>
</head>
<body>
<script language=”javascript”>
var a;
a=prompt(‘Enter any string’);
document.write(“<br>Entering Strings “+a);
document.write(“<br>Lowercase=”+a.toLowerCase());
document.writeln(“<br>Uppercase=”+a.toUpperCase());
</script>
</body>
</html>
SOP 5: Create event-driven JavaScript programs for the following using appropriate
variables, JavaScript inbuilt functions, and control structures.
Answer:
i.To accept number and validate if the given value is a number or not by click
<html>
<head>
<title> To accept number and validate if the given value is a number or not by clicking
on the button.
</title>
</head>
<script language-’JavaScript”>
function display()
{
vara,b;
a=form1.t1;value;
if(a>=0)
alert(“Value is a number”+” “+a);
else
alert(“Value is a string”+” “+a);
}
</script>
</head>
</body>
<form name=form1>
Enter Value: <Input type=text name=t1><br><br>
<Input type=button value=Check onClick=”display()”>
</form>
</body>
</html>