Professional Documents
Culture Documents
Certificate
Certificate
Certificate
Certificate
course code CMP-708 having course name WEB TECHNOLOGIES of Semester IIIRD
_____________________________ __________________________
Name of the Counsellor Name of the SC Co-ordinator
Signature: ___________________ Signature: __________________ Date:
______________ Date: ______________
_____________________________ __________________________
Name of the Internal Examiner Name of the External Examiner
Signature: ___________________ Signature: __________________ Date:
______________ Date: ______________
Index
No. Practical Date of Page Signature of the
Activities/Programs/Assignments practical No. Counsellor and
performed date
1. Practical No: 1
2. Practical No: 2
3. Practical No: 3
4. Practical No: 4
5. Practical No: 5
6. Practical No: 6
7. Practical No: 7
8. Practical No: 8
9. Practical No: 9
10. Practical No: 10
11. Practical No: 11
12. Practical No: 12
13. Practical No: 13
14. Practical No: 14
15.
PRACTICAL NO.1
Code :
<html>
<head>
</head>
<body>
SYBCA ROLL NO.25
<h1>This is a heading.</h1>
<h2>This is a heading.</h2>
<h3>This is a heading.</h3>
<h4>This is a heading.</h4>
<h5>This is a heading.</h5>
<h6>This is a heading.</h6>
<br />
<br />
<br />
<br />
This is<sup>superscript.</sup>
<br />
This is<sub>subscript</sub>
<br />
This is <strike>strikethrough.</strike>
WEB TECHNOLOGY
SYBCA ROLL NO.25
PRACTICAL NO.1
<br />
</p>
</body>
</html>
Output :
Code :
<html>
<head>
<title>Marquee tag</title>
</head>
<body>
<marquee>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.2 ROLL NO.25
</marquee> <br />
</marquee><br />
</marquee>
</marquee>
</marquee>
</center>
</marquee>
</body>
</html>
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.2 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.2 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.3 ROLL NO.25
Aim : Design a web page with links to different pages and allow navigation between pages.
Code :
For page 1:
Code :
<html>
<head>
<title>pract-3.1</title>
</head>
<h2><center>
<h5>
<ul>
</h5>
</font>
</ul>
</body>
</html>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.3 ROLL NO.25
Output :
For page 2:
Code :
<html>
<head>
<title>pract-3.2</title>
</head>
<h2><center>
<h5>
<ul>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.3 ROLL NO.25
<li>Jaguar Cars is a brand of cars made by Jaguar Land Rover. It was renamed Jaguar in
1935. </li>
<li>This is a British car builder, owned by the Indian builder Cans Tata Motors since the
beginning of 2008.[3] It was established in 1922 by William Lyons. </li>
<li>Jaguar is owned by the Indian automobile manufacturer Tata Motors Ltd. Jaguar is
known for its luxury sedans and sportscars.</li>
</h5>
</font>
</ul>
</body>
</html>
Output :
For page 3:
Code :
<html>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.3 ROLL NO.25
<head>
<title>pract-3.3</title>
</head>
<h2><center>
<h5>
<ul>
<li>Ferrari (/fəˈrɑːri/; Italian: [ferˈraːri]) is an Italian luxury sports car manufacturer based
in Maranello, Italy. </li>
<li>Founded by Enzo Ferrari in 1939 out of the Alfa Romeo race division as Auto Avio
Costruzioni, the company built its first car in 1940. </li>
</h5>
</font>
</ul>
</body>
</html>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.3 ROLL NO.25
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.4 ROLL NO.25
Code :
<html>
<head>
<title>Pract-4</title>
</head>
<body>
<area shape = "rect" coords = "93,102,354,214" alt = "no rect" href = "pract-3.2.html">
</body>
</html>
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.4 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.4 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.5 ROLL NO.25
Aim : Create a student table with the following fields. Student Id, Name, DOB, Course,
Address, E-mail id and apply Embedded cascading style sheet CSS with the following
attributes: Font size, color, style, bold, italic, border color, set the background image & set the
center align of table & text.
Code :
<html>
<head>
<title>Pract-5</title>
td{ text-
align:center;
color:green; font-
style:bold; font
size:20px;
table{ color:blue;
bordercolor:red; background-image:
url("image.jpg"); height:500px;
width:700px;
th{
font-size:25px;
color:purple;
</style>
</head>
<body>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.5 ROLL NO.25
<table border = "2" bordercolor = "blue" bgcolor = "yellow" cellspacing = "4" cellpadding
= "5">
<caption>Student Details</caption>
<tr>
<th>Sid</th>
<th>Name</th>
<th>DOB</th>
<th>ADDRESS</th>
<th>E-ID</th>
</tr>
<tr>
<td>1</td>
<td>Sonali</td>
<td>2/3/2001</td>
<td>Goregaon</td>
<td>sonali12@gmail.com</td>
</tr>
<tr>
<td>2</td>
<td>Pranali</td>
<td>2/4/2000</td>
<td>Malad</td>
<td>pranaliyd$@gmail.com</td>
</tr>
<tr>
<td>3</td>
<td>Shreya</td>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.5 ROLL NO.25
<td>26/11/1998</td>
<td>Nagpur</td>
<td>shreya2345#@gmail.com</td>
</tr>
<tr>
<td>4</td>
<td>Rohan</td>
<td>13/6/1999</td>
<td>Navi Mumbai</td>
<td>rohan#urt@gmail.com</td>
</tr>
<tr>
<td>5</td>
<td>Max</td>
<td>6/2/2002</td>
<td>Pune</td>
<td>maxcvb3@gmail.com</td>
</tr>
</table> </body>
</html>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.5 ROLL NO.25
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.6 ROLL NO.25
Aim : Create an external CSS for above and apply to the web page.
Code :
For HTML :
<html>
<head>
<title>pract-6-html</title>
</head>
<body>
<table border = "2" bordercolor = "blue" bgcolor = "yellow" cellspacing = "4" cellpadding
= "5">
<caption>Student Details</caption>
<tr>
<th>Sid</th>
<th>Name</th>
<th>DOB</th>
<th>ADDRESS</th>
<th>E-ID</th>
</tr>
<tr>
<td>1</td>
<td>Sonali</td>
<td>2/3/2001</td>
<td>Goregaon</td>
<td>sonali12@gmail.com</td>
</tr>
<tr>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.6 ROLL NO.25
<td>2</td>
<td>Pranali</td>
<td>2/4/2000</td>
<td>Malad</td>
<td>pranaliyd$@gmail.com</td>
</tr>
<tr>
<td>3</td>
<td>Shreya</td>
<td>26/11/1998</td>
<td>Nagpur</td>
<td>shreya2345#@gmail.com</td>
</tr>
<tr>
<td>4</td>
<td>Rohan</td>
<td>13/6/1999</td>
<td>Navi Mumbai</td>
<td>rohan#urt@gmail.com</td>
</tr>
<tr>
<td>5</td>
<td>Max</td>
<td>6/2/2002</td>
<td>Pune</td>
<td>maxcvb3@gmail.com</td>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.6 ROLL NO.25
</tr>
</table> </body>
</html>
For CSS :
Code :
<html>
<head>
<title>Pract-6-css</title>
td{ text-
align:center;
color:green; font-
style:bold; font
size:20px;
table{ color:blue;
bordercolor:red; background-
image: url("f-1.jpg");
height:500px; width:700px;
th{
font-size:25px;
color:purple;
</style>
</head>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.6 ROLL NO.25
</html>
Output :
WEB TECHNOLOGY
SYBCA ROLL NO.25
PRACTICAL NO.7
Aim : Create a frameset that divides browser window into horizontal and vertical framesets
Code :
<html>
<head>
<title>Pract-7</title>
</head>
</frameset>
</frameset>
</frameset>
</frameset>
</html>
WEB TECHNOLOGY
SYBCA ROLL NO.25
PRACTICAL NO.7
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.8 ROLL NO.25
Aim : Write the javascript code to enter five numbers in the prompt box. Calculate addition of
the numbers & average.
Code :
<html>
<head>
<title>Pract-8</title>
</head>
<body>
W = parseInt(c);
X = parseInt(d); var e =
prompt("Enter CS no"); Y=
parseInt(e);
var i = U+V+W+X+Y;
WEB TECHNOLOGY
SYBCA PRACTICAL NO.8 ROLL NO.25
</script>
</body>
</html>
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.8 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.8 ROLL NO.25
WEB TECHNOLOGY
SYBCA ROLL NO.25
PRACTICAL NO.9
Aim : Create a web page with image and text apply javascript Mouse events – onmouseover ,
onmouseout, onclick on the image and text.
Code :
<html>
<head>
<title>Pract-9</title>
</head>
<body>
</body>
</html>
Output :
PRACTICAL NO.9
WEB TECHNOLOGY
SYBCA ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.10 ROLL NO.25
Aim : Create a page which displays Javascript pop-up-boxes :
1. Alert
2. Confirm
3. Prompt.
Code :
Code :
<html>
<head>
<title>Pract-10-1</title>
<!--
function Warn()
{ alert("This is a warning
message!");
//-->
</script>
</head>
<body>
<form>
</form>
</body>
</html>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.10 ROLL NO.25
Output :
Code :
<html>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.10 ROLL NO.25
<head>
<title>Pract-10-2</title>
<script>
<!--
function getConfirmation()
== true)
return false;
//-->
</script>
</head>
<body>
<form>
</form>
</body>
</html>
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.10 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.10 ROLL NO.25
Code :
<html>
<head>
<title>Pract-10-3</title>
</head>
<body>
<p id = "demo"></p>
<script>
function myFunction()
var txt;
WEB TECHNOLOGY
SYBCA PRACTICAL NO.10 ROLL NO.25
else
document.getElementById("demo").innerHTML = txt;
</script>
</body>
</html>
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.10 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.11 ROLL NO.25
Aim : Design a form and validate all the controls placed on the form using Java Script.
Code :
<html>
<head>
<title>Pract-11</title>
<!-- function
validate()
document.myForm.Name.focus(); return
false;
document.myForm.EMail.focus(); return
false;
WEB TECHNOLOGY
SYBCA PRACTICAL NO.11 ROLL NO.25
if(document.myForm.Country.value == "-1")
return false;
return(true);
//-->
</script>
</head>
<body>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.11 ROLL NO.25
<td>
</select>
</td>
</tr>
<tr>
</tr>
</table>
</form>
</body>
</html>
p-11.html :
Code:
<html>
<head>
<title>P-11</title>
</head>
<body>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.11 ROLL NO.25
</body>
</html>
Output :
WEB TECHNOLOGY
SYBCA PRACTICAL NO.11 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.11 ROLL NO.25
WEB TECHNOLOGY
SYBCA PRACTICAL NO.12 ROLL NO.25
Aim: Design a DTD, corresponding XML document and display it in browser using CSS.
Code:
th { background-
color:pink;
} td { backgroung-
color:yellow; text-
align:center; font-
weight:bold;
font-style:italic; color:blue;
h2 {
color:red;
<!DOCTYPE order
WEB TECHNOLOGY
SYBCA PRACTICAL NO.12 ROLL NO.25
-8"?>
<!ELEMENT order (customer,product)>
]>
<order>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.12 ROLL NO.25
-8"?>
<customer>
<name>Keny</name>
<address>Mumbai</address>
<contact>
<email>keny2345@gmail.com</email>
<tel_no>011-12345678</tel_no>
</contact>
</customer>
<product>
<name_p>Paper</name_p>
<price>40.00</price>
<quantity>10</quantity>
</product>
</order>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.12 ROLL NO.25
-8"?>
<?xml version = "1.0" encoding = "UTF <xsl:stylesheet
"http://www.w3.org/1999/XSL/Transform">
<html>
<head>
</head>
<body>
<caption><h2>ORDER DETAILS</h2></caption>
<tr>
<th>Customer name:</th>
</tr>
<tr>
<th>Address:</th>
</tr>
<tr>
<th>Contact:</th>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.12 ROLL NO.25
-8"?>
</tr>
<tr>
<th>Product name:</th>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.12 ROLL NO.25
</tr>
<tr>
<th>Price:</th>
</tr>
<tr>
<th>Quantity:</th>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.13 ROLL NO.25
OUTPUT:
WEB TECHNOLOGY
SYBCA PRACTICAL NO.12 ROLL NO.25
Code:
Order-xml.xml:
<order>
<customer>
<name>Keny</name>
<address>Mumbai</address>
<contact>
<email>keny2345@gmail.com</email>
<tel_no>011-12345678</tel_no>
</contact>
</customer>
<product>
<name_p>Paper</name_p>
<price>40.00</price>
<quantity>10</quantity>
</product>
</order>
Order-xsl.xsl:
"http://www.w3.org/1999/XSL/Transform">
WEB TECHNOLOGY
SYBCA PRACTICAL NO.13 ROLL NO.25
<html>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.13 ROLL NO.25
<head>
</head>
<body>
<caption><h2>ORDER DETAILS</h2></caption>
<tr>
<th>Customer name:</th>
</tr>
<tr>
<th>Address:</th>
</tr>
<tr>
<th>Contact:</th>
</tr>
<tr>
<th>Product name:</th>
</tr>
<tr>
<th>Price:</th>
</tr>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.13 ROLL NO.25
<tr>
<th>Quantity:</th>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Order.dtd:
<!DOCTYPE order
WEB TECHNOLOGY
SYBCA PRACTICAL NO.13 ROLL NO.25
]>
Output:
WEB TECHNOLOGY
SYBCA PRACTICAL NO.14 ROLL NO.25
Code:
Shiporder-xml.xml:
"https://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation = "shiporder.xsd">
<orderperson>John Smith</orderperson>
<shipto>
<name>Ola Nordamnn</name>
<address>Langgt 23</address>
<city>4000 Stavanger</city>
<country>Norway</country>
</shipto>
<item>
<title>Empire Burlesque</title>
<note>Special Edition</note>
<quantity>1</quantity>
<price>10.90</price>
</item>
<item>
<quantity>1</quantity>
<price>9.90</price>
</item>
</shiporder>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.14 ROLL NO.25
Shiporder-xsl.xsl:
<xs:complexType>
<xs:sequence>
<xs:complexType>
<xs:sequence>
</xs:sequence>
</xs:complexType>
<xs:element>
<xs:complexType>
<xs:sequence>
</xs:sequence>
WEB TECHNOLOGY
SYBCA PRACTICAL NO.14 ROLL NO.25
</xs:complexType>
</xs:element>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Output:
WEB TECHNOLOGY