Web Programming 23ISEN37
Program 1: Apply XHTML knowledge to perform the following using tags:
i) A paragraph containing text “All that glitters are not gold”. Bold face and italicize this text
ii) Create equation: 𝑥 = 1/3(𝑦1 2 + 𝑧1 2 )
iii) Put a background image to a page and demonstrate all attributes of background image
iv) Create unordered list of 5 fruits and ordered list of 3 flowers
Solution:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Program1</title>
</head>
<body>
<style>
body {
background-image: url("image.png");
background-repeat: no-repeat;
background-position: right bottom;
background-attachment: fixed;
}
</style>
<h4>Paragraph</h4>
<p>
<b><i>All that glitters is not gold</i></b> is an aphorism stating that not
everything that looks precious or true turns out to be so.
While early expressions of the idea are known from at least the 12th-13th
century, the current saying is derived from a 16th-century line by William
Shakespeare.
<h4>Equation</h4>
Department of ISE, DSATM 2024-25 P a g e 1 | 34
Web Programming 23ISEN37
<i>x</i> = 1/3(<i>y</i><sub>1</sub><sup>2</sup> +
<i>z</i><sub>1</sub><sup>2</sup>)
<h4>Unordered Fruit List</h4>
<ul>
<li>Banana</li>
<li>Mango</li>
<li>Grapes</li>
<li>Apples</li>
</ul>
<h4>Ordered Flower List</h4>
<ol>
<li>Jasmine</li>
<li>Rose</li>
<li>Lotus</li>
<li>Tulip</li>
</ol>
<br />
</body>
</html>
Output:
Department of ISE, DSATM 2024-25 P a g e 2 | 34
Web Programming 23ISEN37
Program 2: Create following table using XHTML tags. Properly align cells, give suitable
cell padding and cell spacing, and apply background color, bold and emphasis necessary.
Solution:
<?xml version="1.0" encoding="UTF-8"?>
Department of ISE, DSATM 2024-25 P a g e 3 | 34
Web Programming 23ISEN37
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Table Demo XHTML PAGE</title>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td{
padding-left: 10px;
padding-bottom: 20px
}
table {
border-spacing: 30px;
}
</style>
</head>
<body>
<h3>Tables in XHTML</h3>
<table align="center" width="70%" style="height:450px">
<tr >
<td rowspan="9" align="center" bgcolor=DEEEEE>
<b>Department</b>
</td>
<td rowspan="3" align="center" bgcolor=9E7BA0>
<b>Sem1</b>
</td>
<td padding:15px>
<em>SubjectA</em>
Department of ISE, DSATM 2024-25 P a g e 4 | 34
Web Programming 23ISEN37
</td>
</tr>
<tr> <td ><em>SubjectB</em></td>
</tr>
<tr> <td ><em>SubjectC</em></td>
</tr>
<tr>
<td rowspan="3" align="center" bgcolor=9E7BA0>
<b>Sem2</b>
</td>
<td ><em>SubjectE</em></td>
</tr>
<tr> <td ><em>SubjectF</em></td>
</tr>
<tr> <td ><em>SubjectG</em></td>
</tr>
<tr>
<td rowspan="3" align="center" bgcolor=9E7BA0>
<b>Sem3</b>
</td>
<td ><em>SubjectH</em></td>
</tr>
<tr> <td ><em>SubjectI</em></td>
</tr>
<tr> <td ><em>SubjectJ</em></td>
</tr>
</table>
</body>
</html>
Department of ISE, DSATM 2024-25 P a g e 5 | 34
Web Programming 23ISEN37
Program 3: Create following calculator interface with XHTML and CSS
Department of ISE, DSATM 2024-25 P a g e 6 | 34
Web Programming 23ISEN37
Solution:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta charset="utf-8" />
<title> Calculator interface</title>
<link rel="stylesheet" type="text/css" href="calcstyle.css">
</head>
<body>
<div class="calculator">
<div class="display">
<p id="result">0</p>
</div>
<div class="buttons">
<button onclick="appendToDisplay('(')">(</button>
Department of ISE, DSATM 2024-25 P a g e 7 | 34
Web Programming 23ISEN37
<button onclick="appendToDisplay(')')">)</button>
<button onclick="clearDisplay()">C</button>
<button onclick="appendToDisplay('%')">%</button>
<button onclick="appendToDisplay('7')">7</button>
<button onclick="appendToDisplay('8')">8</button>
<button onclick="appendToDisplay('9')">9</button>
<button onclick="appendToDisplay('*')">X</button>
<button onclick="appendToDisplay('4')">4</button>
<button onclick="appendToDisplay('5')">5</button>
<button onclick="appendToDisplay('6')">6</button>
<button onclick="appendToDisplay('-')">-</button>
<button onclick="appendToDisplay('1')">1</button>
<button onclick="appendToDisplay('2')">2</button>
<button onclick="appendToDisplay('3')">3</button>
<button onclick="appendToDisplay('+')">+</button>
<button onclick="appendToDisplay('0')">0</button>
<button onclick="appendToDisplay('.')">.</button>
<button onclick="appendToDisplay('/')">/</button>
<button onclick="evaluate()">=</button>
</div>
</div>
</body>
</html>
Css code
.calculator {
display: flex;
flex-direction: column;
width: 350px;
margin: 10px;
Department of ISE, DSATM 2024-25 P a g e 8 | 34
Web Programming 23ISEN37
border: 1px solid #ccc;
border-radius: 15px;
background-color: #F0C0FF;
}
.display {
background-color: #fff;
border-radius: 10px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
display: flex;
justify-content: flex-end;
align-items: center;
padding: 10px;
margin-left: 30px;
margin-right: 30px;
margin-top: 30px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
padding: 20px;
}
button {
padding: 20px;
background-color: #8D918D;
border: 1px solid #ccc;
border-radius: 10px;
cursor: pointer;
margin: 10px;
Department of ISE, DSATM 2024-25 P a g e 9 | 34
Web Programming 23ISEN37
font-size: 18px;
font-weight: bold;
}
button:hover {
background-color: #d9d9d9;
}
button:active {
background-color: #bfbfbf;
}
#result {
margin: 0;
font-size: 24px;
font-weight: bold;
}
Program 4: Design a web page using JavaScript program to displays scrolling text which
moves from left to right with a small delay, upon clicking a button.
Solution:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Scrolling Text Example</title>
<style>
#scrollingText {
font-size: 24px; font-weight: bold;
white-space: nowrap; overflow: hidden;
Department of ISE, DSATM 2024-25 P a g e 10 | 34
Web Programming 23ISEN37
}
</style>
</head>
<body>
<button id="startBtn">Start Scrolling</button>
<div id="scrollingText">This is some scrolling text!</div>
<script>
var scrollingText = document.getElementById("scrollingText");
var startBtn = document.getElementById("startBtn");
var textWidth = scrollingText.clientWidth;
var containerWidth = scrollingText.parentNode.clientWidth;
var currentPosition = 0;
function scrollText() {
if (currentPosition < containerWidth) {
scrollingText.style.transform = "translateX(-" + currentPosition + "px)";
currentPosition += 1;
setTimeout(scrollText, 20);
} else {
currentPosition = -textWidth;
scrollText();
}
}
startBtn.addEventListener("click", function() {
currentPosition = 0;
scrollText();
});
</script>
</body>
</html>
Output:
Department of ISE, DSATM 2024-25 P a g e 11 | 34
Web Programming 23ISEN37
Program 5: Develop and demonstrate a XHTML file that includes JavaScript script for
the following problems:
a) Input: A number n obtained using prompt.
Output: The first n Fibonacci numbers.
b) Input: A number n obtained using prompt.
Output: A table of numbers from 1 to n and their squares using alert.
Solution:
a)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Fibonacci Series</title>
</head>
<body>
<script type="text/javascript">
var fib1=0,fib2=1,fib=0;
var num=prompt("Enter a number : \n", "");
if(num != null && num > 0 )
{
document.write("<h1>The first "+num+" numbers in the fibonacci series
</h1>");
if(num==1)
document.write("<h2> "+ fib1 + "</h2>");
Department of ISE, DSATM 2024-25 P a g e 12 | 34
Web Programming 23ISEN37
else
{
document.write("<h2>" + fib1 + "</h2>");
document.write("<h2>" + fib2 + "</h2>");
}
for(i=3;i<=num; i++)
{
fib= fib1 + fib2;
document.write("<h2> " + fib + "</h2>");
fib1=fib2;
fib2=fib;
}
}
else
alert("Invalid Input");
</script>
</body>
</html>
Output:
Department of ISE, DSATM 2024-25 P a g e 13 | 34
Web Programming 23ISEN37
b)
<!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>
<title>Number and its squares</title>
</head>
<body>
<script type="text/javascript">
var num = prompt("Enter a number : \n", "");
var msgstr;
if(num > 0 && num !=null){
msgstr="Number and its Squares are \n";
for(i=1;i <= num; i++)
{
msgstr = msgstr + i + " ^ 2 = " + i*i + "\n";
}
alert(msgstr);
}
else
alert("Invalid Input");
Department of ISE, DSATM 2024-25 P a g e 14 | 34
Web Programming 23ISEN37
</script>
</body>
</html>
Output:
Program 6: Develop and demonstrate a XHTML file that includes JavaScript script that
uses functions for the following problems:
a) Parameter: A string Output: The position in the string of the left-most vowel.
b) Parameter: A number Output: The number with its digits in the reverse order.
Solution:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Program 3a</title>
</head>
<script type="text/javascript">
<!--
function vovel()
{
Department of ISE, DSATM 2024-25 P a g e 15 | 34
Web Programming 23ISEN37
var n = prompt("Enter a string: ","");
flag=0;
for(i=0;i<n.length && flag!=1 ;i++)
{
switch(n[i])
{
case 'a':
case 'e':
case 'i':
case 'o':
case 'u': alert("The left most vowel is present in the position: " +(i+1));
flag = 1;
break;
default : break;
}
}
if(!flag)
alert("No Vowels found.");
}
-->
</script>
<body onload="vovel()">
</body>
</html>
Output:
Department of ISE, DSATM 2024-25 P a g e 16 | 34
Web Programming 23ISEN37
b)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Program 3b</title>
</head>
<script type="text/javascript">
<!--
function rev()
{
var n = prompt("Enter a number: ","");
Department of ISE, DSATM 2024-25 P a g e 17 | 34
Web Programming 23ISEN37
var str=0;
for(i=n.length-1;i>=0;i--)
str = str*10 + Number(n[i]);
alert(str);
}
-->
</script>
<body onload="rev()">
</body>
</html>
Output:
Department of ISE, DSATM 2024-25 P a g e 18 | 34
Web Programming 23ISEN37
Program 7: Create a webpage containing 3 overlapping images using XHTML, CSS and
Solution:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta charset="utf-8">
<title>Animal Stacking</title>
<style>
h1 {text-align: center;}
.dog {
position: absolute;
left: 10%; top: 10%;
z-index: 0;
}
.cat {
position: absolute;
left: 30%; top: 30%;
z-index: 1;
}
.horse {
position: absolute;
left: 50%; top: 50%;
z-index: 2;
}
</style>
<script>
var topIndex = 2;
Department of ISE, DSATM 2024-25 P a g e 19 | 34
Web Programming 23ISEN37
function moveToTop(picture) {
picture.style.zIndex = ++topIndex;
}
</script>
</head>
<body>
<h1>Image Overlap Demo</h1>
<div id="image-container">
<img id="dog" class="dog" src="dog.jpg"
onmouseover="moveToTop(this)" width="400" height="300">
<img id="cat" class="cat" src="cat.jpg"
onmouseover="moveToTop(this)" width="400" height="300">
<img id="horse" class="horse" src="horse.jpg"
onmouseover="moveToTop(this)" width="400" height="300">
</div>
</body>
</html>
Output:
Department of ISE, DSATM 2024-25 P a g e 20 | 34
Web Programming 23ISEN37
Program 8: Write a PHP program to store current date-time in a COOKIE and display
the ‘Last visited on’ date-time on the web page upon reopening of the same page.
Solution:
<?php
date_default_timezone_set('Asia/Calcutta');
//Calculate 60 days in the future
//seconds * minutes * hours * days + current time
$inTwoMonths = 60 * 60 * 24 * 60 + time();
setcookie('lastVisit', date("G:i - m/d/y"), $inTwoMonths);
if(isset($_COOKIE['lastVisit']))
$visit = $_COOKIE['lastVisit'];
echo "Your last visit was - ". $visit;
else
echo "You've got some stale cookies!";
?>
Department of ISE, DSATM 2024-25 P a g e 21 | 34
Web Programming 23ISEN37
Output:
Program 9: Create a XHTML form with Name, Address Line 1, Address Line 2, and E-
mail text fields. On submitting, store the values in MySQL table. Retrieve and display the
data based on Name.
Solution:
<-- 13a.php -->
<html>
<body>
<?php
$self = $_SERVER['PHP_SELF'];
$dbh = mysql_connect('localhost', 'root', 'satish1') or
die(mysql_error());
mysql_select_db('satish') or die(mysql_error());
Department of ISE, DSATM 2024-25 P a g e 22 | 34
Web Programming 23ISEN37
if(isset($_POST['name']))
$nme = $_POST['name'];
$ad1 = $_POST['add1'];
$ad2 = $_POST['add2'];
$eml = $_POST['email'];
if($nme != "" && $ad1 != "")
$query = "INSERT INTO contact VALUES
('$nme', '$ad1', '$ad2', '$eml')";
$result = mysql_query($query) or die(mysql_error());
else
echo "one of the field is empty";
mysql_close($dbh);
?>
<FORM ACTION="<?=$self?>" METHOD="POST">
<P>
Name: <INPUT TYPE=text NAME="name" value=""> <BR>
Address 1:<INPUT TYPE=text NAME="add1" value=""><BR>
Address 2:<INPUT TYPE=text NAME="add2" value=""><BR>
email:<INPUT TYPE=text NAME="email" value=""><BR>
<INPUT TYPE=submit>
</FORM>
</body>
</html>
<!-- 13b.html -->
<html>
Department of ISE, DSATM 2024-25 P a g e 23 | 34
Web Programming 23ISEN37
<head><title>Program 13</title></head>
<body>
<form action="13b.php" method="post">
Enter Name of the person <input type="text" name="name">
<input type=submit>
</form>
</body>
</html>
<!-- 13b.php -->
<html>
<head><title>Search Result </title></head>
<body>
<h3>Search Result </h3>
<hr>
<?php
$link=mysql_connect("localhost","root","satish1");
mysql_select_db("satish");
$n=$_POST["name"];
print "Entered Name is $n \n";
$var=mysql_query("SELECT * FROM contact WHERE name like
'%$n%'");
echo"<table border size=1>";
echo"<tr><th>Name</th> <th>Address 1</th> <th>Address 2</th>
<th>E-mail</th></tr>";
while ($arr=mysql_fetch_row($var))
echo "<tr><td>$arr[0]</td> <td>$arr[1]</td> <td>$arr[2]</td>
<td>$arr[3]</td> </tr>";
Department of ISE, DSATM 2024-25 P a g e 24 | 34
Web Programming 23ISEN37
echo"</table>";
mysql_free_result($var);
mysql_close($link);
?>
<hr>
<form action="12b.html">
<input type="submit" value="Back">
</form>
</body>
</html>
Output:
Department of ISE, DSATM 2024-25 P a g e 25 | 34
Web Programming 23ISEN37
Department of ISE, DSATM 2024-25 P a g e 26 | 34
Web Programming 23ISEN37
Program 10: Using PHP and MySQL, develop a program to accept book information viz.
Accession number, title, authors, edition and publisher from a web page and store the
information in a database and to search for a book with the title specified by the user and
to display the search results with proper headings.
Solution:
<!-- 14a.html -->
<html>
<head><title>ENTER THE INFORMATION INTO DATABASE </title>
</head>
<body>
<form action=”http://localhost/14a.php” method=”post”>
<h1>ENTER THE BOOK DETAILS</h1>
Department of ISE, DSATM 2024-25 P a g e 27 | 34
Web Programming 23ISEN37
ACCNO: <input type="text"name="Acc_no"> <br>
TITLE: <input type="text"name="Title"> <br>
AUTHOR:<input type="text"name="Author"> <br>
EDITION:<input type="text"name="Edition"> <br>
PUBLICATION:<input type="text"name="Publisher"> <br>
<input type="submit"value="SUBMIT">
<input type="reset"value="CLEAR">
</form>
</body>
</html>
<!-- 14a.php -->
<?php
header('content-type:text/plain');
$db=mysql_connect('localhost','root','') or die("Connection Failed");
mysql_select_db('librarys',$db);
mysql_query("insert into book
values('$_POST[Acc_no]','$_POST[Title]','$_POST[Author]','$_POST[Publi
sher]','$_POST[Edition]')") or
die("Insertion Failed");
echo "Record Insertion Successful";
?>
<!-- 14b.html -->
<html>
<head><title>Enter the Title of the book to be searched</title></head>
<body>
<form action =" http://localhost/14b.php" method =' POST'>
Enter the Title of the book to be searched<input type ="text"
name="Title"><br>
<input type="submit" value="SUBMIT">
Department of ISE, DSATM 2024-25 P a g e 28 | 34
Web Programming 23ISEN37
</form>
</body>
</html>
<!-- 14b.php -->
<?php
header("Content-type:text/plain");
$db=mysql_connect('localhost','root','') or die("connection failed");
mysql_select_db('student',$db);
$result=mysql_query("select * from library where title like
'%".$_POST['Title']."%'",$db);
if(!$result)
echo "Query failed";
$row=mysql_fetch_row($result);
if(empty($row))
echo "No matching results";
exit;
echo "Access No.\tTitle\t\tAuthor\t\tPublisher\tEdition\n";
do
echo $row[0]."\t\t".$row[1]."\t".$row[2]."\t".$row[3]."\t".$row[4]."\n";
}while($row=mysql_fetch_row($result));
?>
Output:
Department of ISE, DSATM 2024-25 P a g e 29 | 34
Web Programming 23ISEN37
Department of ISE, DSATM 2024-25 P a g e 30 | 34
Web Programming 23ISEN37
WEB PROGRAMMING LAB VIVA
1. Expand HTML.
2. Explain Web Engineering?
3. What is the difference between width=”100” and width=”100%”?
4. What are meta tags and why it is used?
Ans: Metadata is information about data.The tag provides metadata
about the HTML document. Metadata will not be displayed on the page,
but will be machine parsable. Meta elements are typically used to specify
page description, keywords, author etc.
5. What is web 2.0?
Ans: Web 2.0 is all about "Design Pattern" and "Business Model" for the
next generation of the software
6. What is the difference between HTML and XHTML?
7. How do you make decision when to use use HTML & XHTML ?
Ans: HTML and XHTML are very similar, but XHTML follows a stricter
set of rules, making it easier to validate data and design pages ...
8. What is the format of document structure in HTML?
9. What is DIV in HTML?
10.What is Empty Elements in HTML?
Ans: Empty Elements in HTML depicts that there is no text contained
and EMPTY attributes are not permitted to have an end-tag. They are
used simply as markers. ...
11.What is SPAN in HTML?
Ans: The tag is used to group inline elements in aa document to format
them with styles.p>This is another paragraph ...
12.What are HTML elements?
Ans: HTML elements are nothing but HTML tags. eg: html, head, title,
meta, body, table, h1, h2, h3, font, p, marquee etc ...
13.What is HEAD in HTML document?
Ans: The head tag is placed above the body element in the html
document. The head element contains general information, also called
meta-information, about a document.
Department of ISE, DSATM 2024-25 P a g e 31 | 34
Web Programming 23ISEN37
14.What is Document Type Definition?
Ans: Document Type Defination (DTD) specifies the syntax of a web page,
It is used to specify rules that apply to the markup of the document of a
particular type, including a set of element and entity declarations.
15.What are differences between DIV and SPAN?
Ans: DIV is used to select a block of text so that one can apply styles to
it. SPAN is used to select inline text and let users to apply styles to it.
16. What are tags used for the following and give details on the same?
Ordered list
Unordered list
Table
Span
Image
Paragraph
Scrolling text
Headings
Frames
17.Give examples for nested tags.
18.Explain the various tags used with the <table> tag.
19.Explain the various tags with <form> tag.
20.How do you specify the size of the text?
21. What is meant by CSS?
22. How do you add an external CSS?
23.How do you define a CSS in the same HTML code?
24.What are the various attributes defined to a text in CSS?
25.How do you define a class in CSS?
26.What is meant by Javascript?
27.Which tag do we use insert a JavaScript in HTML page?
28.When is Javascript used?
29.What is the function of prompt?
Department of ISE, DSATM 2024-25 P a g e 32 | 34
Web Programming 23ISEN37
30. How can you declare an array and string in Javascript?
31.Why do we use document.write function?
32.What is the significance of document?
33.What does alert function do?
34. What do you mean by regular expression?
35.Why is “$” appended at the end of the pattern?
36.What does indexof() do?
37.What is meant by php?
38. What is meant by a cookie?
39. What is a session?
40.How do you make a session secure?
41. Explain various SQL commands.
42.What is meant by a Query?
43.What does a special set of tags <?= and ?> do in PHP?
Ans: Display content directly on browser.
44.How do you define a constant a constant in php?
Ans: Via define() directive, like define ("MYCONSTANT", 100);
45.What is php?
46.Name some sever side and client side scripting languages
47.What is a Web server?
48.What is a application server?
49.Give examples for web & application servers.
50.What is DBI? Explain
51.Explain ‘ print header’
52.Explain ‘ Refresh ‘ statement in html
53.Explain pre tag, frames tag and a href tab
54.How web works?
55.compare programming language and scripting language
********************************************************************
Department of ISE, DSATM 2024-25 P a g e 33 | 34
Web Programming 23ISEN37
ALL THE BEST
Department of ISE, DSATM 2024-25 P a g e 34 | 34