Web Technology Record
Web Technology Record
AUTONOMOUS
(Affiliated to Bharathiar University)
Behind Nava India, Coimbatore - 641028.
PRACTICAL RECORD
NAME :
REGISTERNO :
CLASS :
HINDUSTHAN COLLEGE OF ARTS & SCIENCE
AUTONOMOUS
(Affiliated to Bharathiar University)
Behind Nava India, Coimbatore -641028.
BONAFIDE CERTIFICATE
Submitted for the Practical Examination held at Hindusthan College of Arts & Science, Coimbatore-28,
on………………………….
11
VALIDATE A FORM USING JAVA SCRIPT.
Aim:
Algorithm:
Source code:
<html>
<body>
</video>
<audio controls>
</audio>
<h1>IMAGE</h1>
<h2>FLOWERS</h2>
<img src="d:\flower.jpg">
</body>
</html>
Output:
Result:
Aim:
Algorithm:
Source code:
<!DOCTYPE html>
<html>
<head>
<title>First Webpage</title>
</head>
<body>
</header>
<li>Coffee</li>
<li>Tea</li> </ul>
<li>Coffee</li>
<li>Tea</li>
</ul>
<li>Coffee</li>
<li>Tea</li>
</ul>
<h2><b> By default </b></h2>
<ol>
<li>Coffee</li>
<li>Tea</li>
</ol>
<li>Coffee</li>
<li>Tea</li>
</ol>
<li>Coffee</li>
<li>Tea</li>
</ol>
<li>Coffee</li>
<li>Tea</li>
</ol>
</section>
<h3>Footer Example</h3>
</footer>
</body>
</html>
Output:
Result:
Aim:
Algorithm:
Source code:
3prgm.html
<html>
<style>
h1 {text-align: center;
color:red;}
h2 {text-align: center;
color:purple;}
</style>
</head>
<body bgcolor="yellow">
</body>
</html>
stud.html:
<html>
<head><title>student details</title>
<style>
h1 {text-align: center;
color:marron;}
h2 {text-align: center;
color:pink;}
</style>
</head>
<body bgcolor="blue">
<div align="center">
<table border=3>
<tr>
<th>S.No</th>
<th>Reg.No</th>
<th>Student Name</th>
<th>DOB</th>
<th>Batch</th>
<th>Ph.No</th>
<th>Address</th>
</tr>
<tr>
<td>01</td>
<td>21bca201</td>
<td>AAA</td>
<td>12/08/1990</td>
<td>2021 - 2024</td>
<td>9870654123</td>
<td>Coimbatore</td>
</tr>
<tr>
<td>01</td>
<td>21bca202</td>
<td>BBB</td>
<td>12/02/1990</td>
<td>2021 - 2024</td>
<td>9870654123</td>
<td>Chennai</td>
</tr>
<tr>
</table>
</div>
</body>
</html>
coursedet.html
<html>
<head><title>Course Details</title>
<style>
h1 {text-align: center;
color:red;}
h2 {text-align: center;
color:blue;}
</style>
</head>
<body bgcolor="orange">
<ul>
<li>java</li>
<li>SSOS</li>
<li>WT lab</li>
<li>Java lab</li>
<li>OR</li>
</ul>
<div align="center">
<table border=2>
<tr>
<th>S.No</th>
<th>Course Code</th>
<th>Subject Name</th>
<th>Subject Staff</th>
</tr>
<tr>
<td>01</td>
<td>21CAU14</td>
<td>WT Lab</td>
<td>Mrs.Jayalakshmi</td>
</tr>
<tr>
<td>02</td>
<td>21CAU15</td>
<td>Java</td>
<td>Mr.S.Aravind</td>
</tr>
<tr>
<td>03</td>
<td>21CAU16</td>
<td>SSOS</td>
<td>Dr.Senthil Vadivu</td>
</tr>
<tr>
<td>04</td>
<td>21CAU17</td>
<td>OR</td>
<td>Mrs.Divyaprabha</td>
</tr>
</table>
</div>
</body>
</html>
percentage.html
<html>
<head><title>Student Percentage</title>
</head>
<body>
<style>
h1 {text-align: center;
color:yellow;}
h2 {text-align: center;
color:red;}
</style>
</head>
<body bgcolor="pink">
<div align="center">
<table border=3>
<tr>
<th>S.No</th>
<th>Reg.No</th>
<th>Student Name</th>
</tr>
<tr>
<td>01</td>
<td>21bca201</td>
<td>AAA</td>
<td>73%</td>
<td>80%</td>
</tr>
<tr>
<td>01</td>
<td>21bca202</td>
<td>BBB</td>
<td>65%</td>
<td>79%</td>
</tr>
<tr>
</div>
</body>
</html>
OUTPUT:
Result:
Aim:
Algorithm:
Source code:
<html>
<head>
<title>Education details</title>
</head>
<body>
<table broder="1"background="grey"cellspacing="5"cellpadding="5">
<th>SNo</th>
<th>Course</th>
<th>University</th>
<th>College</th>
<th>Year of Passing</th>
<th>Percentage</th>
<tr>
<td>01</td>
<td>BCA</td>
<td>Bharathiar</td>
<td>HICAS</td>
<td>2024</td>
<td>90</td>
</tr>
<tr>
<td>2</td>
<td>BCA</td>
<td>Bharathiar</td>
<td>HICAS</td>
<td>2024</td>
<td>95</td>
</tr>
</table>
<table broder="1"background="grey"cellspacing="5"cellpadding="5">
<th>Vision</th>
<th>Mission</th>
<tr>
<td>To provide intellectual environment that fosters the search for new knowlege in a highly
dynamic
computing world and to fine tune graduate research attributes and includes resaerch interest among
<td>To provide an excellent eduction in all computers related fields.To impart computer education
and generate acquaintance to the students for global competence and excellence in quality.
</td>
</tr>
</table>
</body>
</html>
OUTPUT:
Result:
Aim:
Algorithm:
Source code:
<html>
<head><title>REGISTRATION FORM</TITLE>
</HEAD>
<BODY>
<CENTER><B><U>REGISTRATION FORM OF INTER-COLLEGIATE
FUNCTION</B></U></CENTER>
<FORM>
ALL THE STUDENTS SHOULD READ THE NOTES AT END OF THIS FORM<BR><BR>
<B>PLEASE WRITE IN CAPITAL LETTER<BR><BR>
FIRST NAME:
<INPUT TYPE="TEXT" NAME="FIRSTNAME"><BR><BR>
LAST NAME:
<INPUT TYPE="TEXT" NAME="LASTNAME"><BR><BR>
D.O.B:
<INPUT TYPE="TEXT" NAME="DOB"><BR><BR>
GENDER:
<INPUT TYPE="RADIO" NAME="SEX" VALUE="MALE">MALE
<INPUT TYPE="RADIO" NAME="SEX" VALUE="FEMALE">FEMALE<BR><BR>
NAME OF COLLEGE:
<INPUT TYPE="TEXT" NAME="COLLEGENAME"><BR><BR>
DEGREE:
<INPUT TYPE="TEXT" NAME="DEGREE PROGRAMMING"><BR><BR>
YEAR OF STUDY:
<INPUT TYPE="TEXT" NAME="YEAR OF STUDY"><BR><BR>
ADDRESS:
<INPUT TYPE="TEXT" NAME="ADDRESS"><BR><BR>
PHONE NUMBER:
<INPUT TYPE="TEXT" NAME="NUMBER"><BR><BR>
E-MAIL ID:
<INPUT TYPE="TEXT" NAME="EMAILID"><BR><BR>
PASSWORD:
<INPUT TYPE="PASSWORD" NAME="TEXTFIELD" VALUE=""><BR><BR>
PARTICIPATED PROGRAM:
<INPUT TYPE="RADIO" NAME="SOLO SINGING" VALUE="SOLO SINGING">SOLO
SINGING<BR><BR>
<INPUT TYPE="RADIO" NAME="SOLO DANCING" VALUE="SOLO DANCING">SOLO
DANCING<BR><BR>
<INPUT TYPE="RADIO" NAME="FACIAL PAINTING" VALUE="FACIAL
PAINTING">FACIAL PAINTING<BR><BR>
<INPUT TYPE="RADIO" NAME="GREETINGS"
VALUE="GREETINGS">GREETINGS<BR><BR>
COMMENT:<BR>
<TEXTAREA ROWS="5" COLS="50" NAME="COMMENT">
ENTER THE COMMENTS.....
</TEXTAREA><BR><BR>
<BUTTON ONCLICK="myFunction()">SUBMIT</BUTTON>
<SCRIPT>
function myFunction()
{
alert("Registraion Completed!")
}
</SCRIPT></BODY></HTML>
OUTPUT:
Result:
Aim:
Algorithm:
Source code:
6prgm.html
<!doctype html>
<html>
<head>
</head>
<body>
<p>This is a paragraph</p>
<h2>Position 1&2</h2>
</div>
<h2>position fixed</h2>
</div>
<br/>
<br/>
<div style="margin-bottom:200px"></div>
</body>
</html>
Stylesheet.css
body{
background-color:lightgreen;
h1{
color:White;
text-align:center;
p{
font-family:verdana;
font-size:20px;
#parent2{
position:relative;
width:300px;
height:100px;
#child2{
position:absolut;
top:70px;
right:15px;
#parent4{
position:fixed;
background-colur;rgba(255,200,0.5);
width:300px;
height:100px;
bottom:0;
left:0;
right:0;
#child4{
position:absolut;
top:70px;
right:15px;
}
Output:
Result:
Aim:
Algorithm:
Source code:
<html>
<head>
<title></title>
</head>
<body>
<div id="header">
<p id="name">PRADEEPKUMAR</p>
<a href="mailto:[email protected]"target="_blank"><p>
id="email">"mailto:[email protected]"</p></a>
</div>
<div class="left">
</div>
<div class="right">
<h3>Eductional Qualification</h3>
<table>
<tr id="heading">
<td>Qualification</td>
<td>Board</td>
<td>Percentage</td>
<td>Year</td>
</tr>
<tr>
<td>S.S.C</td>
<td>G.S.E.B India</td>
<td>80.57%</td>
<td>2018</td>
</tr>
<tr>
<td>H.S.C(commerce stream)</td>
<td>P.A.C.M</td>
<td>80%</td>
<td>2020</td>
</tr>
<tr>
<td>B.C.A</td>
<td>81%</td>
<td>2024</td>
</tr>
</table>
<h3>Technical Skills</h3>
<p>
<ul>
<li>
<span id="course-name">Operating systems:</span>DOS.Windows98,Windows2000,Windows
xp,Windows NT,Windows server 2003,windows vista,Windows7</li>
<li>
<li>
</p>
<h3>Crtifications/Awards:</h3>
<p>
<ul>
<ul>
</p>
<h3>Personal information:</h3>
<p>
<ul>
<li>
A young,determined hard and smart working person.I belive in task based roles and complete
ownership of work.
<li>
<li>
</p>
<h3>Other information</h3>
<ul>
<li>
<li>
<li>
</p>
<h3>Declaration</h3>
<p>
I hereby declare that the details furnished above are true and correct to the best of knowledge and
belief.</p>
</div>
<div id="footer"></div>
</body>
</html>
7prgm.css
div
border-radius:5px;
#header
position:fixed;
z-index:1;
height:40px;
width:98%;
background-color:#668284;
margin-bottom:10px
#name{
float:left;
margin-left:20px;
paddy-bottom10px;
font-size:16px;
font-family:verdana,sans-serif;
color:#ffffff;
#email{
float:right;
margin-right:20px;
paddy-bottom10px;
font-size:16px;
font-family:verdana,sans-serif;
color:#ffffff;
#contact{
margin-left:45%;
paddy-bottom10px;
font-size:16px;
font-family:verdana,sans-serif;
color:#ffffff;
a:hover{
font-weight:bold;
.right
float:left:
margin-top:50px;
padding-left:5px;
height:auto;
width:99%;
background-color:#E3EDD8;
#footer
height:40px;
clear:both;
position:relative;
backgroung-color:#C1E3E1;
h3
{
text-decoration:underline;
#job-responsibilites
padding:1px;
.job-title
font-weight:bold;
table
td
padding:2px;
#course-name
font-weight:bold;
#job-title
{
height:5px;
.job-duration
float:right;
#heading
font-weight:bold;
}
Output:
Result:
Aim:
Algorithm:
Source code:
P8 internal.html:
<!DOCTYPE html>
<html>
<head>
<title>Webpage</title>
<style>
body{background-color:powerblue;}
h1{color:blue;}
p{color:red;}
</style>
</head>
<body>
<ul>
<li><a href="#">Faculty</a></li>
<li><a href="#">About</a></li>
</ul>
<h1>Vission</h1>
<p>To provide intellectual environment that fosters the search for new knowlege in a highly dynamic
computing world and to fine tune graduate research attributes and includes resaerch interest among
<p>To provide an excellent eduction in all computers related fields.To impart computer education
and generate acquaintance to the students for global competence and excellence in quality.</p>
</body>
</html>
P8external.html
<!DOCTYPE html>
<html>
<head>
<title>Webpage</title>
</head>
<body>
<ul>
<li><a href="#">Faculty</a></li>
<li><a href="#">About</a></li>
</ul>
<h1>Vission</h1>
<p>To provide intellectual environment that fosters the search for new knowlege in a highly dynamic
computing world and to fine tune graduate research attributes and includes resaerch interest among
<h1>Mission</h1>
<p>To provide an excellent eduction in all computers related fields.To impart computer education
and generate acquaintance to the students for global competence and excellence in quality.</p>
</body>
</html>
Style.css
body
background-color:lightgreen;
h1
color:green;
text-align:center;
font-famil:verdana;
font-size:20px;
}
Output:
Internal
External
Result:
Aim:
Algorithm:
Souce Code:
<html>
<head>
<title>STUDENTS INFORMATION</title>
<script type="text/javascript">
function calc( )
form=document.getElementById("form1");
sub1=form.sub1.value;
sub2=form.sub2.value;
sub3=form.sub3.value;
sub4=form.sub4.value;
total=parseInt(sub1)+parseInt(sub2)+parseInt(sub3)+parseInt(sub4);
form.total.value=total;
form.avg.value=parseInt(total)/4;
if(sub1<35||sub2<35||sub3<35||sub4<35)
form.result.value="fail";
else
form.result.value="pass";
</script>
</head>
<body>
<form id="form1">
<br/>
</form>
</body>
</html>
Output:
Result:
Aim:
Algorithm:
Source code:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Classic Editor </title>
<script src="https://cdn.ckeditor.com/ckeditor5/35.2.1/classic/ckeditor.js">
</script>
</head>
<body>
<div id="editor">This is some sample content.</div>
<script>
ClassicEditor
.create( document.querySelector( '#editor' ) )
.then( editor => {
console.log( editor );
})
.catch( error => {
console.error( error );
} );</script>
</body>
</html>
</script>
</body>
</html>
Output:
Result:
Aim:
Algorithm:
Source code:
<html>
<head>
<script>
var name=document.myform.name.value;
var password=document.myform.password.value;
if(name==null || name==""){
return false;
</script>
</head>
<body>
action="http://www.javatpoint.com/javascriptpages/valid.jsp"onsubmit="return validateform()">
Password:<input type="password"name="password"><br/>
<input type="submit"value="register">
</form>
</body>
</html>
Output:
Result:
Aim:
Algorithm:
Source code:
<html lang="en">
<head><script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
$(function()
{
var state=true;
$("#button").on("click",function()
{
if(state)
{
$("#effect").animate({backgroundcolor:"green", color:"green",width:500},1000);
}
else
{
$("#effect").animate({backgroundcolor:"blue", color:"blue",width:240},1000);
}
state=!state;
});
});
</script></head><body>
<div class="toggler">
<div id="effect" class="ui-widget-content ui-corner-all">
<h3 class="ui-widget-header ui-corner-all"> Animate</h3>
<p>
animating a background</p>
</div>
</div>
<button id="button" class="ui-state-default ui-corner-all"> click here</button>
</body>
</html>
Output:
Result: