Bcom-Iv-Sem-Web-Technologies Lab Record
Bcom-Iv-Sem-Web-Technologies Lab Record
Bcom-Iv-Sem-Web-Technologies Lab Record
Com-IV-Sem WEB-Technologies
<html>
<head>
<title>Program1/Formatting Tags</title>
</head>
<body>
<h1 align="center">Formatting tags</h1>
<b>Bold data</b> </br>
<i>Italic data</i> </br>
<u>data with underline</u></br>
<em>emphasised data</em></br>
2<sup>2</sup></br>
<strike>strike on data</strike></br>
<center>Data in center of the page</center></br>
</body>
</html>
<html>
<head>
<title>Program/Logical Tags</title>
</head>
<body>
<h1 align="center">Logical tags</h1>
<em>emphasised data</em></br>
</body>
</html>
Output:-
<html>
<head>
<title>Program3/heading Tags</title>
</head>
<body>
<h1 align="center">Headnig tags</h1>
<h1> EDUCATIONAL SOCIETY </h1>
<h2> EDUCATIONAL SOCIETY</h2>
<h3> EDUCATIONAL SOCIETY</h3>
<h4> EDUCATIONAL SOCIETY</h4>
<h5> EDUCATIONAL SOCIETY</h5>
<h6> EDUCATIONAL SOCIETY</h6>
</body>
</html>
Output:-
<html>
<head>
<title>Program4/heading Tags</title>
</head>
<body>
<h1 align="center">Anchor tag</h1>
<a href="www.lalbahadur.com" name="lb" target="">Link to Lalbahadur Educational Society
</a>
<html>
<head>
<title>Program5/Image Tag</title>
</head>
<body>
<h1 align="center">Image tag</h1>
</body>
</html>
Output:-
6. Create a Webpage to display the text ALL THE BEST . aligned with images.
<html>
<head>
<title>Program6/Image with align text</title>
</head>
<body>
</body>
</html>
Output:-
7. Write HTML program to implement font Tags along with its attributes.
<html>
<head>
Prepared by Coding corner ([email protected])
<title>Program7/Font</title>
</head>
<body>
<font size="10">This Font with Size</font></br>
<font color="red">This Font with Color</font></br>
<font face="verdana">This Font with Face</font></br>
<body>
</html>
Output:-
<html>
<head>
<title>Program8/Order List</title>
</head>
<body>
<!-- order list -->
<h1>Order List</h1>
<ol type="A">
<li>Web</li>
<li>Excel</li>
<li>B Law</li>
</ol>
<!-- unorder list -->
<h1>UnOrder List</h1>
<ul type="square">
<li>Web</li>
<li>Excel</li>
<li>B Law</li>
</ul>
<h1>Menu List</h1>
<ol type="1">
<li>Courses in College
<ol type="i">
9. Create a Webpage to display order list, unordered list on the subjects available in Fifth
semester
<html>
<head>
<title>Program9/Order List</title>
</head>
<body>
<!-- order list -->
<h1>Order List</h1>
<ol type="1">
<li>Practice of General Insurance</li>
<li>Excel Foundation</li>
<li>Business Law</li>
Prepared by Coding corner ([email protected])
<li>Computer Accountancy </li>
<li>BAnking Theory And Practice</li>
<li>Accounting Standards</li>
<li>Web Technology</li>
</ol>
<h1>UnOrder List</h1>
<ul type="disc">
<li>Practice of General Insurance</li>
<li>Excel Foundation</li>
<li>Business Law</li>
<li>Computer Accountancy </li>
<li>BAnking Theory And Practice</li>
<li>Accounting Standards</li>
<li>Web Technology</li>
</ol>
</body>
</html>
Output:-
<html>
<head>
<title>Program11/Tables</title>
</head>
<body bgcolor="yellow">
<h1 align="center" style="color:blue"><u>TABLE</u></h1>
<table cellspacing="5" cellpadding="5" align="center" border="6" width="500px"
bgcolor="pink">
<tr>
<th>Time/Day</th> <th>9:00-9:45</th> <th>9:45-10:30</th> <th>10:30-
11:15</th> <th>11:15-12:00</th> <th>12:00-12:45</th> <th>12:45-1:00</th>
<th>1:00-1:45</th>
<th>1:45-2:30</th>
</tr>
<tr>
<td>Monday</td> <td>Business Law</td> <td>Banking and theory</td>
<td>Practise of Insurance</td> <td>Excel Foundation</td> <td>Banking and
theory</td>
<tr>
<td>Wednsday</td> <td>Business Law</td> <td>Banking and theory</td>
<td>Practise of Insurance</td> <td>Excel Foundation</td> <td>Banking and
theory</td>
<html>
<head>
<title>Program13/Marquee</title>
</head>
<body>
<marquee><b><u>WEB TECHNOLOGY<u></b></marquee>
<marquee direction="right" loop="4"><b><u>WEB
TECHNOLOGY<u></b></marquee>
Programe:
<html>
<head>
<title>Program14/Tables</title>
</head>
<body bgcolor="yellow">
<h1 align="center" style="color:blue"><u>TABLE</u></h1>
<table align="center" border="6" width="500px" bgcolor="pink" cellspacing="4"
cellpadding="4">
</tr>
<tr>
<td>6</td> <td>Alan Schaaf</td>
<td>Founder of " Imgur " which is the world's largest image hosting site .</td>
</tr>
<tr>
Prepared by Coding corner ([email protected])
<td>7</td> <td>Alexander Douglas</td>
<td>Created the first graphical Computer game, OXO .</td>
</tr>
<tr>
<td>8</td> <td>Andreas Bechtolsheim</td> <td>Co-founder of
Microsystems</td>
</tr>
</table>
</body>
</html>
Output:-
<html>
<head>
<title>Program15/Forms</title>
</tr>
<tr> <td>Languages</td> <td>:</td>
<td>English<input type="checkbox" name="gender"> Telugu<input type="checkbox"
name="gender"></td>
</tr>
</table>
</form>
</body>
</html>
<html>
<head>
<title>Program16/Emplyeee form</title>
</head>
<body bgcolor="pink">
<h3 align="center"><u>Employee Deatils</u></h3>
<form action="abc.php">
<table align="center" border="4" bgcolor="lightgreen">
<tr>
<td>Name</td> <td>:</td> <td><input type="text" name="sname"
id="sname"></td>
</tr>
<tr>
<td>Fname</td> <td>:</td> <td><input type="text" name="fname"
id="fname"></td>
</tr>
<tr>
<td>Designation</td> <td>:</td> <td><input type="text" name="fname"
id="fname"></td>
</tr>
<tr>
<td>Qualification</td> <td>:</td> <td><input type="text" name="fname"
id="fname"></td>
</tr>
<tr>
<td>Phno</td> <td>:</td> <td><input type="text" name="phno" id="phno"></td>
</tr>
<tr>
<td>Gender</td> <td>:</td> <td><input type="radio" name="male">Male <input
type="radio" name="male">Female</td>
</tr>
<tr>
<td>Languages</td> <td>:</td>
Prepared by Coding corner ([email protected])
<td><input type="checkbox" name="lanT">Telugu<input type="checkbox"
name="lanE">English<input type="checkbox" name="lanH">Hindi</td>
</tr>
<tr>
<td>D.O.B</td> <td>:</td>
<td><select name="date">
<option>Date</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<select name="month">
<option>Month</option>
<option>Jan</option>
<option>Feb</option>
</select>
<select name="year" >
<option>Year</option>
<option>1987</option>
<option>2019</option>
</select></td>
</tr>
<tr> <td>Address</td> <td>:</td>
<td><textarea rows="10" cols="20">Write your address here...</textarea></td>
</tr>
<tr>
<td>Password</td> <td>:</td> <td><input type="password"></td>
</tr>
<tr>
<td> </td>
<td style="padding-left:50px"><input type="submit" value="Submit"></td>
</tr>
Prepared by Coding corner ([email protected])
</table>
</form>
</body>
</html>
Output:-
17. Write a program to create Pull down menu on the universities available in Telangana
State.
<html>
<head>
<title>Program16/Emplyeee form</title>
</head>
<body bgcolor="orange">
<form>
Universities in Telengane:
<select>
<option>Select University</option> <option>Osmania University</option>
<option>Jawaharlal Nehru University</option>
<option>Dr.B.R Ambedkar University</option>
</select>
</form>
</body>
</html>
Output:-
18. Write a program to create Pull down menu on various Web Designing Softwares.
<html>
<head>
<title>Program18/Emplyeee form</title>
</head>
<body bgcolor="orange">
<select>
<option>Joomla</option>
<option>Wordpress</option>
<option>Drupal</option>
<option>Adobe Dreamweaver</option>
<option>Template Toaster</option>
<option>Google Web Designer</option>
<option>CoffeCup</option>
<option>Xara</option>
<option>openElement</option>
</select>
</form>
</body>
</html>
Output:-
<html>
<head>
<title>Program19/Student form</title>
<script>
function confirmInput() {
fname = document.forms[0].fname.value;
</script>
</head>
<body bgcolor="pink">
<h3 align="center"><u>Employee Deatils</u></h3>
<form action="abc.php" onsubmit="confirmInput()">
<table align="center" border="4" bgcolor="lightgreen">
<tr>
Prepared by Coding corner ([email protected])
<td>Name</td>
<td>:</td>
<td><input type="text" name="sname" id="sname"></td>
</tr>
<tr>
<td>Fname</td>
<td>:</td>
<td><input type="text" name="fname" id="fname"></td>
</tr>
<tr><td>Phno</td>
<td>:</td>
<td><input type="text" name="phno" id="phno"></td></tr>
<tr>
<td>Gender</td>
<td>:</td>
<td><input type="radio" name="male">Male <input type="radio"
name="male">Female</td>
</tr>
<tr>
<td>Languages</td>
<td>:</td>
<td><input type="checkbox" name="lanT">Telugu<input
type="checkbox"name="lanE">English<input type="checkbox" name="lanH">Hindi</td>
</tr>
</tr>
<tr>
<td>Password</td>
<td>:</td>
<td><input type="password"></td>
</tr>
<tr>
<td></td>
<td style="padding-left:50px"><input type="submit" value="Submit"
name="fname"></td>
</tr>
</table>
</form>
</body>
</html>
Output:-
<html>
<head>
<title>Program20/Using frames</title>
</head>
<frameset cols="25%,25%,25%,25%">
<frame src="frame1.html">
<frame src="frame2.html">
<frame src="frame3.html">
<frame src="frame4.html">
</frameset>
</html>
Prepared by Coding corner ([email protected])
Output:-
<html>
<head>
<title>Program21/Using frames</title>
</head>
<frameset rows="25%,25%,25%,25%">
<frame src="frame1.html">
<frame src="frame2.html">
<frame src="frame3.html">
<frame src="frame4.html">
</frameset>
</html>
Output:-
<html>
<head>
<title>Program22/DHTML</title>
<link rel="stylesheet" href="external.css" type="text/css">
<style>
h1
color:red;
font-size:50px;
font-family:algerian;
.a
margin:50px;
color:blue;
margin:150px;
color:red;
</style>
</head>
<body bgcolor="yellow">
<h1 align="center" style="color:red">Casecading Style Sheet</h1>
<h3 style="color:blue">Inline Style Sheet</h3>
<p class="a">Paragraph1 text goes here....</p>
<p class="b">Paragraph2 text goes here....</p>
<p class="c">Paragraph5 text with brown goes here....</p>
<p class="d">Paragraph6 with brown text goes here....</p>
</body>
</html>
Output:-
<html>
<head>
<title>Program23/Inline style sheet</title>
</head>
<body bgcolor="yellow">
<h1 align="center" style="color:red">Casecading Style Sheet</h1>
<h3 style="color:blue">Inline Style Sheet</h3>
<h3 style="color:blue">Internal/Embeded Style Sheet</h3>
<h3 style="color:blue">External Style Sheet</h3>
<p style="color:green;font-family:algerian;font-size:20px;">This program
describes the inline style sheet </p>
<table>
<tr>
<td style="color:cyan;font-family:aharoni;font-size:30px;">Works with
Td</td>
</tr>
Prepared by Coding corner ([email protected])
</table>
</body>
</html>
Output:-
HTML PROGRAM:
<html>
<head>
<title>Program24/External</title>
<link rel="stylesheet" href="external.css" type="text/css">
</head>
<body>
<h1 class="e">External style sheet</h1>
<p class="a">Paragraph1 text goes here....</p>
<p class="a">Paragraph2 text goes here....</p>
body
{
background-color:pink;
.e
color:cyan;
font-size:50px;
font-family:algerian;
.f
color:yellow;
font-size:50px;
font-family:algerian;
.m
font-size:50px;
font-family:algerian;
.a
margin:50px;
color:blue;
.b
margin:150px;
color:red;
.c
margin:250px;
color:brown;
.d
margin:250px;
color:#orange;
Output:-
<html>
<head>
<title>Program25/Internal</title>
<style>
body
{
background-color:pink;
h1
color:red;
font-size:50px;
font-family:algerian;
.a
Prepared by Coding corner ([email protected])
{
margin:50px;
color:blue;
.b
margin:150px;
color:red;
.c
margin:250px;
color:green;
</style>
</head>
<body>
<h1>Inline style sheet</h1>
<p class="a">Paragraph1 text goes here....</p>
<p class="a">Paragraph2 text goes here....</p>
<p class="b">Paragraph3 text goes here....</p>
<p class="b">Paragraph4 text goes here....</p>
<p class="c">Paragraph5 text goes here....</p>
<p class="c">Paragraph6 text goes here....</p>
</body>
26. Write a DHTML program to illustrate Id and Class Selectors using CSS.
<html>
<head>
<title>Program26/id and class</title>
<style>
body
{
background-color:pink;
h1
color:blue;
font-size:50px;
font-family:algerian;
.a
margin:50px;
color:blue;
.b
margin:150px;
color:green;
#c
margin:250px;
color:red;
#d
margin:250px;
color:yellow;
</style>
</head>
<body>
<h1>Inline style sheet</h1>
<p class="a">Paragraph1 text goes here....</p>
<html>
<head>
<title>Program27/Filters</title>
</head>
<body>
<img src="C:\Users\Public\Pictures\Sample Pictures\desert.jpg" height="200" alt="logo"
style="Filter:Blur(Add=50,Direction=255, Strength=500"><br><br><br>
<br><br><br><br><br><br>
<div style="width:580;height:50;font-size:30pt;font-family:Arial
Black;color:#3300Ff;Filter:Chroma(Color = #3300FF);">
</div>
<br><br><br><br><br><br>
<div style="width:580;height:50;font-size:30pt;font-family:Arial
Black;color:#3300Ff;Filter:Blur(Add=5,Direction=255, Strength=30">
</div>
<br><br><br><br><br><br>
<div style="width:580;height:50;font-size:30pt;font-family:Arial
Black;color:#3300Ff;filter:dropshadow(color:red,direction=90);">
</div>
<br><br><br><br><br><br>
<div style="width:580;height:50;font-size:30pt;font-family:Arial
Black;color:#3300Ff;filter:invert;">
<!DOCTYPE html>
<html>
<head>
<title>Program28/transition</title>
<style>
div {
width:200px;
height:200px;
background:blue;
transistion:width 2s;
div:hover {
width:500px;
</style>
</head>
<body>
<p><b>note:</b>this program will not excute inl internet explorer 9 </p>
<div></div>
<p>this my first program in transistions</p>
</body>
</html>
Output:-
29. Write a DHTML program to demonstrate changing text and attributes using CSS.
<html>
color:yellow;
color:gray;
h1
color:red;
text-align:center;
text-decoration:overline;
text-transform:uppercase;
letter-spacing:3px;
line-height:1;
h2
color:blue;
text-align:left;
text-decoration:line-through;
text-transform:lowercase;
letter-spacing:-5px;
Prepared by Coding corner ([email protected])
line-height:2;
h3
color:cyan;
text-align:right;
text-decoration:underline
color:green;
text-indent:50px;
</style>
</head>
<body>
<b>Text-align</b>
<h1>align-center</h1>
<h2>align-left</h2>
<h3>align-right</h3>
<b>Text-decoration</b>
<h1>text-decoration-overline</h1>
<h2>text-decoration-line-through</h2>
<b>Text-Transformation</b>
<h1>text-transform-uppercase</h1>
<h2>text-transform-lowercase</h2>
<h3>text-transform-capital</h3>
<b>Text-Indenation</b>
<p>Indentation</p>
<b>Letter Spacing</b>
<h1>Letter Spacing:3px</h1>
<h2>Letter Spacing:-3px</h2>
<b>Line height</b>
<h1>Line height:0.8</h1>
<h2>Line height:1.6</h2>
<b>word space</b>
<h1>word space:10px</h1>
<h2>word space:-10px</h2>
</body>
</html>
Prepared by Coding corner ([email protected])
Output:-
30. Write a Java Script program to calculate Area and circumference of a Circle .
<html>
<head>
<title>Program30/js area</title>
<script language="javascript">
function Calculateare()
var radius=document.form1.txtRadius.value;
</script>
</head>
<body>
<form name="form1">
Enter the radius of circle:
<html>
<head>
<title>Program31/js find biggest</title>
<script language="javascript">
var a=10,b=20,c=8;
document.write("<b>A is Greater</b>");
document.write("<b>B is Greater</b>");
document.write("<b>C is Greater</b>");
</script>
</head>
<body>
</body>
</html>
Output:-
32. Write a Java Script program to demonstrate Arithmetic Operations using Switch case.
<html>
<head>
<title>Program32/js find arth</title>
<script language="javascript">
var operator='*';
var a=10,b=12;
case '+':
break;
case '-':
break;
case '*':
break;
case '/':
break;
case '%':
break;
default:
document.write("None");
break;
</script>
</head>
<body>
</body>
</html>
Output:-
<html>
<head>
<title>Program31/js odd</title>
<script language="javascript">
var i=1,n=100;
while(i<=n)
if((i%2)!=0)
document.writeln(i);
document.writeln("</br>")
i++;
</script>
</head>
<html>
<head>
<title>Program34/js Multiplication table</title>
<script language="javascript">
function generateTable()
{
var myVar=2;
var myString="";
for(i=1;i<=10;i++)
{
myString+=i+"X"+myVar+"="+(i*myVar)+"</br>";
}
Prepared by Coding corner ([email protected])
document.write(myString);
}
</script>
</head>
<body>
<a href="javascript:generateTable()">Create new Table</a>
</body>
</html>
Output:-
<!DOCTYPE html>
<html>
<head>
<title>Program35/js events</title>
<script>
function myFunctionkey() {
var x = document.getElementById("fname");
x.value = x.value.toUpperCase();
}
function myFunctionclick()
{ document.getElementById("demo").innerHTML = "Hello
World";
}
function myFunctiondbl() {
document.getElementById("demo").innerHTML = "Hello World";
}
function myFunctionchange()
{
Prepared by Coding corner ([email protected])
var x = document.getElementById("fname");
x.value = x.value.toUpperCase();
}
function myFunctionfocus(x)
{
x.style.background = "green";
}
</script>
</head>
<body>
<p id="demo">Onclick</p>
<button onclick="myFunctionclick()">Click me</button>
<p>Onchange</p>
Enter your name: <input type="text" id="fname" onchange="myFunctionchange()">
<p>Double click</p>
<p ondblclick="myFunctiondbl()">Doubleclick this paragraph to trigger a function.</p>
<p>Onfocus</p>
Enter your name: <input type="text" onfocus="myFunctionfocus(this)">
<p>Keypress</p>
Enter your name: <input type="text" id="fname" onkeyup="myFunctionkey()">
</body>
</html>
Output:-
<html>
<head>
<title>Program36/js natural numbers</title>
<script language="javascript">
var i;
function myFunction()
{
var n=document.getElementById("myText").value;
document.write(i+"</br>");
}
} </script>
</head>
<body>
enter value to get natural numbers
<input type="text" id="myText">
<button onclick="myFunction()">Get Natural numbers</button>
</body>
Prepared by Coding corner ([email protected])
</html>
Output:-
<html>
Prepared by Coding corner ([email protected])
<head>
<title>Program37/js factorial</title>
<script language="javascript">
var input=prompt("Enterthe number to get factorial");
var result=input;
for(var i=1;i<input;i++)
{
result=i*result
}
document.write(result);
</script>
</head>
<body>
</body>
</html>
Output:-
<html>
<head>
<title>Program38/js arrays</title>
</head>
<body>
<h2>Java script Arrays</h2>
<p id="demo"></p>
<script language="javascript">
var cars=["Maruti","Hyndai","BMW","VOLVO"];
document.getElementById("demo").innerHTML=cars;
</script>
</body>
</html>
Output:-
<html>
<head>
<title>Program39/js string functions</title>
</head>
<body>
<h2>Java script String Functions</h2>
<p>String indexOf()</p>
<p id="demo1"></p>
<script language="javascript">
var str="Please locate where 'locate' occures";
var pos=str.indexOf("locate");
document.getElementById("demo1").innerHTML=pos;
</script>
<p>String length</p>
<p id="demo"></p>
<script language="javascript">
var txt="HARIKRISHNANAGABANDI";
document.getElementById("demo").innerHTML=txt.length;
</script>
</body>
</html>
Output:-
<html>
<head>
<title>Program40/js math object</title>
</head>
<body>
<h2>Java script Math Objects</h2>
<p>Math.round</p>
<p id="demo"></p>
<script language="javascript">
document.getElementById("demo").innerHTML=Math.round(4.4);
</script>
<h2>Java script Math Power</h2>
<p>Math.power</p>
<p id="demo1"></p>
<script language="javascript">
document.getElementById("demo1").innerHTML=Math.pow(8,2);
</script>
<h2>Java script Math Sqrt</h2>
<p>Math.sqrt</p>
<p id="d emo2"></p>
Prepared by Coding corner ([email protected])
<script language="javascript">
document.getElementById("demo2").innerHTML=Math.sqrt(64);
</script>
<h2>Java script Math absolute</h2>
<p>Math.absolute</p>
<p id="demo3"></p>
<script language="javascript">
document.getElementById("demo3").innerHTML=Math.abs(-5.5);
</script>
42. Create a Web page and apply mouse effects to change text color, size, family etc on
the text.
<!DOCTYPE html>
<html>
<head>
<title>Program42/text styles</title>
<style>
a.ex1:hover, a.ex1:active{color:red;}
a.ex2:hover, a.ex2:active{font-size:150%;}
a.ex3:hover, a.ex3:active{background:red;}
</style>
</head>
<body>
<p>Mouse iver the links to see them change color size and family</p>
<p><a class="ex1">Font Color</p>
<p><a class="ex2">Font size</p>
Prepared by Coding corner ([email protected])
<p><a class="ex3">Font family</p>
</body>
</html>
Output:-
43. Create a Web page which displays a line of text, when you click on the text a new line
of text
should overwrite the existing text.
<!DOCTYPE html>
<html>
<body>
<p>Click the button to trigger a function that will output "Hello World" in a p
element with id="demo".</p>
<script>
function myFunction() {
Prepared by Coding corner ([email protected])
document.getElementById("demo").innerHTML = "Hello
World";
</script>
</body>
</html>
Output:-
<!DOCTYPE html>
<html>
<head>
<script>
function myFunction() {
</script>
</head>
<body>
<p>A function is triggered when the user is pressing a key in the input field.</p>
<input type="text" onkeypress="myFunction()">
</body>
<!DOCTYPE html>
<html>
<head>
<script>
function message() {
</script>
</head>
<body>
<form onreset="message()">
Enter your name: <input type="text" size="20">
<input type="reset">
Prepared by Coding corner ([email protected])
</form>
</body>
</html>
Output:-
46. Create a XML document for employee database with 10 records and 5 columns in
each record.
<?xml version="1.0"?>
<employee>
<emp>
<empid>100</empid>
<empname>ramu</empname>
<desig>Manager</desig>
<salary>30000</salary>
<depart>sales</depart>
</emp>
Prepared by Coding corner ([email protected])
<emp>
<empid>101</empid>
<empname>priya</empname>
<desig>officer</desig>
<salary>20000</salary>
<depart>marketing</depart>
</emp>
<emp>
<empid>102</empid>
<empname>swapna</empname>
<desig>clerk</desig>
<salary>8000</salary>
<depart>pruchasing</depart>
</emp>
</employee>
Output:-
<td>e-com</td>
<td>web</td>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Output:-
<?xml version="1.0"?>
<bookstore xmlns:link="http://www.w3/1999/x/link">
Prepared by Coding corner ([email protected])
<book title="harry poter">
<description>
X link:type="simple"
X link:herf:http://book.com/images/H.potter.gif
X link:show="new"
As his fifty year at Hogwarts school of white craft and wizards approaches,15 years old harry is--
</description>
</book>
</bookstore>
<?xml version="1.0"?>
<bookstore xmlns:link="http://www.w3/1999/x/link">
<book title="harry poter">
<description>
X link:type="simple"
X link:herf:http://book.com/images/H.potter.gif
X link:show="new"
As his fifty year at Hogwarts school of white craft and wizards approaches,15 years old harry is--
</description>
</book>
</bookstore>
Output:-
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3school.com">
<html>
<body>
<xsl:template>
<xsl:stylesheet type ="text/css">
<h1>sales dept</h1>
{black text and font family :arial;color:#0000;}