Manual Vi Sem MM Part A
Manual Vi Sem MM Part A
OUTPUT:
.nav-links a {
color: white;
text-decoration: none;
letter-spacing: 3px;
font-weight: bold;
font-size: 14px;
padding: 14px 16px;
}
.nav-links a:hover:not(.active) {
background-color: lightseagreen;
}
.nav-links li a.active {
background-color: #4caf50;
}
</style>
<title>Home</title>
</head>
<body>
<nav>
<div class="heading">
<h4>Navigation Bar</h4>
</div>
<ul class="nav-links">
<li>
<a class="active"
href="C:/Users/SSCASCW/Desktop/index.html">Home</a></li>
<li>
<a href="C:/Users/SSCASCW/Desktop/aboutus.html">About</a></li>
<li>
<a href="C:/Users/SSCASCW/Desktop/services.html">Services</a></li>
<li>
<a href="C:/Users/SSCASCW/Desktop/contactus.html">Contact</a></li>
</ul>
</nav>
OUTPUT:
<th>Tuesday</th>
<td colspan="3">----LAB----</td>
<td>OE</td>
<td>ENG</td>
<td>KAN</td>
<td>BCA</td>
<td></td>
</tr>
<tr>
<th>Wednesday</th>
<td colspan="3">----LAB----</td>
<td>SKILL</td>
<td>BCA</td>
<td>ENG</td>
<td>KAN</td>
<td>OE</td>
</tr>
<tr>
<th>Thurday</th>
<td colspan="3">----LAB----</td>
<td>BCA</td>
<td>KAN</td>
<td>ENG</td>
<td>BCA</td>
<td>OE</td>
</tr>
<tr>
<th>Friday</th>
<td colspan="3">----LAB----</td>
<td>OE</td>
<td>ENG</td>
<td>BCA</td>
<td>SKILL</td>
<td>BCA</td>
</tr>
<tr>
<th>Saturday</th>
<td colspan="3">----LAB----</td>
<td>BCA</td>
<td>KAN</td>
<td>ENG</td>
<td>BCA</td>
<td>OE</td>
</tr>
</table>
</body>
</html>
OUTPUT:
content.html
<!DOCTYPE html>
<head>
<title>Content</title>
</head>
<body>
<h1>Content Section</h1>
</body>
</html>
OUTPUT:
var e=document.forms["form"]["s_email"].value;
if(e=="" || e==null)
{
alert("Enter Student Email");
return false;
}
var f=document.forms["form"]["s_mob"].value;
if(f=="" || f==null)
{
alert("Enter Student Mobile Number");
return false;
}
var g=document.forms["form"]["s_addr"].value;
if(g=="" || g==null)
{
alert("Enter Student Address");
return false;
}
var h=document.forms["form"]["cour"].value;
if(h=="" || h==null)
{
alert("select course");
return false;
}
}
</script>
</head>
<body>
<h1>STUDENT REGISTRATION FORM</h1>
<form method="post" name="form" onsubmit="return validate( )">
Student Name:<input type="text" name="s_name" placeholder="Enter
Student name" /> <br />
Student Father Name:<input type="text" name="s_fname" placeholder="Enter
Student Father name" /> <br />
OUTPUT:
}
pre
{
font-family:"Calibri";
font-weight:italic;
font-size:12pt;
line-height:20pt;
text-align:center;
}
</style>
</head>
<body>
<h1 align="center">BIO-DATA</h1>
<center>
<img src=" " alt="ss" height="200" width="200" /></center>
<table border="1" align="center">
<tr>
<td>Name: </td>
<td class="one">Shivanna</td>
</tr>
<tr>
<td>Date of Birth: </td>
<td>
<pre>1 April 1907
Veerapura, Magadi,
Kingdom of Mysore
</pre></td>
</tr>
<tr>
<td>Education</td>
<td>Doctor of Literature (honorary, 1965)</td>
</tr>
<tr>
<td>Organization</td>
OUTPUT:
7. Write an HTML program to create div and apply the following CSS
properties on created div
Margin
Padding
Border
Box shadow
Lab7.html
<!DOCTYPE html>
<html>
<head>
<style>
.myDiv
{
border: 5px outset red;
background-color: lightblue;
box-shadow:10px 10px 10px blue;
margin:2px;
padding:12px;
}
.myDiv1
{
border: 5px outset green;
background-color: lightblue;
box-shadow:10px 10px 10px orange;
margin:2px;
padding:12px;
}
h2
{
font-family:"Arial";
font-size:14pt;
text-align:center;
}
p
Dept of CS, SSCASCW, Tumakuru SMB Page 22
Multimedia Animation Lab Manual VI SEM BCA
{
padding:5px;
}
</style>
</head>
<body>
<h1>SIDDAGANGA COLLEGE OF ARTS SCIENCE AND COMMERCE
FOR WOMEN</h1>
<div class="myDiv">
<h2>ABOUT COLLEGE</h2>
<p>His Holiness Karnataka Ratna Dr. Sri Sri Shivakumaraswamigalu, the
founder President of Sree Siddaganga Education Society envisioned womens
empowerment through higher education. His motto has always been four
E'S-Education,Employment,EconomicIndependence,Enlightened
Society</p>
</div>
<div class="myDiv1">
<h2>ADDRESS AND CONTACT </h2>
<p>SREE SIDDAGANGA COLLEGE OF ARTS SCIENCE AND
COMMERCE FOR WOMEN</p>
<p>Gandhi Nagar, OPPOSITE TO GOVT.DISTRICT HOSPITAL</p>
<p>Tumakuru,Karnataka,India</p>
</div>
</body>
</html>
OUTPUT:
8. Write an HTML program to create a box and using CSS transform and
transition properties move the box to the center of the web page on
loading web-page.
Lab8.html
<html>
<head>
<style>
div
{
width:100px;
height:100px;
background-color:red;
position: relative;
animation-name:moving;
animation-duration:14s;
animation-delay:0s;
}
@keyframes moving
{
0%{ background-color:red; left:0px; top:0px;}
25%{background-color:black; left:1250px; top:0px;}
50%{background-color:green; left:1250px; top:400px;}
75%{background-color:blue; left:0px; top:400px;}
100%{background-color:red; left:0px; top:0px;}
}
</style>
</head>
<body>
<center><h1>Box moving</h1></center>
<br>
<div>
</div>
</body>
<html>
OUTPUT:
OUTPUT:
OUTPUT