Web Programming Final Submission
Web Programming Final Submission
CERTIFICATE
This is to certify that Mr./Ms. Esai Seshan S Thanga Perumal of FYBSc [Computer Science],
Semester I , Seat No FCS2425025 has successfully completed the practicals and submitted
it online in Microsoft Teams for the subject of Web Programming as a partial fulfilment of
________________ _______________
Faculty-in-charge Internal Examiner
Rajesh Yadav Rajesh Yadav
1
should not contain $ sign
2
1.B. Design a registration form web page
3
4
5
2.A. Design a webpage that contains 3 hyperlinks (audio, video
and gif)
-----------------------------------------------------------------------------------------
Video
-----------------------------------------------------------------------------------------Audio
-----------------------------------------------------------------------------------------
Gif
-----------------------------------------------------------------------------------------
6
2.B. Design a webpage to display the map of India. Create a
clickable region using image map on same image so that when we
click on Maharashtra it opens another tab with information about
Maharashtra. Create 2 more clickable regions for states of your
choice
Code with input and output
7
Maharashtra Output and Input code
-----------------------------------------------------------------------------------------
Tamil Nadu Output and Input code
8
-----------------------------------------------------------------------------------------
Ladakh Output and Input code
-----------------------------------------------------------------------------------------
<html>
<head><title>Sign up</title></head>
<style>
body{background-color: #c3c6c6;}
.container{
height: 450px;
width: 650px;
margin-top: 150px;
9
margin-left: 400px;
background-color:#868f8f;
.image{
height: 450px;
width: 300px;
float: left;
background-color: white;
.image a{
font-size: 15px;
padding-left: 40px;
.login-box{
height: 450px;
width: 350px;
float: right;
background-color: white;
.image img{
height: auto;
width: 250px;
padding-left: 25px;
padding-top: 30px;
.login-box h2{
padding-top: 30px;
.username img{
padding-top: 30px;
padding-left: 15px;
height: auto;
width: 15px;
10
.username input{
margin-left: 15px;
.password img{
padding-top: 15px;
padding-left: 15px;
height: auto;
width: 15px;
.password input{
margin-left: 25px;
.remember-me{
padding-top: 15px;
padding-left: 15px;
.login button{
background-color: #82cfff;
font-size: 17px;
margin-top: 20px;
margin-left: 15px;
.socials{
font-size: 15px;
padding-top: 100px;
.socials img{
padding-left: 10px;
height: auto;
width: 20px;
</style>
<body>
<div class="container">
11
<div class="image">
</div>
<div class="login-box">
<form>
<h2>Sign Up</h2>
<div class="username">
<i>User Name</i>
<input type="text">
</div>
<div class="password">
<i>Password</i>
<input type="password">
</div>
<div class="remember-me">
</div>
<div class="login">
</div>
</form>
<div class="socials">
Or login with
</div>
</div>
</div>
12
</body>
</html>
-Output-
----------------------------------------------------------------------------------------------------------------
13
4.B. Create a webpage which takes a number from the user
through the input box. Onclick of button it should display the
Fibonacci series of that length
----------------------------------------------------------------------------------------------------------------
4.C. Create a webpage which takes series length from the user
through the input box. On click of button it should display the
reverse of that number
-----------------------------------------------------------------------------------------
14
15
-----------------------------------------------------------------------------------------
16
6. Write a javascript program to take firstname, lastname,
contactno, age and address for registration. Validate all fields
using Regular Expression (RegExp Object) such that I. Firstname
should contain only characters II. Lastname should contain only
characters III. Age should contain only number IV. Contactno
should contain only number V. Address should not contain $ sign
Code with input and output
17
7] Write a javascript program which conatins the following
buttons: I. Browser window size (height and width) II. Current
page details (hostname and protocol) III. Browser details like
(appversion, appname and language)
18
19