1 Bcom - 2 Semester - E-Commerce and Web Designing - LAB-Experiments
1 Bcom - 2 Semester - E-Commerce and Web Designing - LAB-Experiments
1 Bcom - 2 Semester - E-Commerce and Web Designing - LAB-Experiments
E – COMMERCE
AND
WEB DESIGNING
LAB
EXPERIMENTS
2
INDEX
PAGE
SL.NO DATE NAME OF THE EXPERIMENTS REMARKS
NO
6 Creation of Forms
7 Creation of Framesets
<head>
</head>
<body>
</body>
</html>
4
OUTPUT
5
Procedure:
Source code:
Open the notepad, type the below code and save as “listandtable.html”
<html>
<head>
<title>Lists and Tables with Attributes</title>
<table>
<style>
table,th,td {border:1px solid black; width:400px;}
</style>
</head>
<body>
<h1> Total Points</h1>
<tr>
<th>Technologies</th>
<th>Points</th>
</tr>
<tr>
<td>Programming Languages <ul>
<li>C++</li>
<li>Java</li>
<li>C</li>
</ul>
</td>
<td>100</td>
</tr>
<tr>
<td>Database
6
<ul>
<li>MySQL</li>
<li>Oracle</li>
<li>CouchDB</li>
</ul>
</td>
<td>50</td>
</tr>
</table>
</body>
</html>
OUTPUT
7
<h2> 2. OrderList</h2>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
<h2> 3. Un-OrderList</h2>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
</body>
</html>
8
Procedure:
Source code:
Open the notepad, type the below code and save as “Biodata.html”
<html>
<head>
<title>BIO-DATA</title>
<caption><center><b>BIO-DATA</center></b></caption>
<center>
<table border=5 >
<tr><th align=left colspan=6>Name<td align=left colspan=15>S.K Raju
9
OUTPUT
11
<a name="ICT">
<h1>ICT Tutorial</h1>
<p>This is sub topic.1</p>
<p>This is sub topic.2</p>
<p>This is sub topic.3</p>
<p>This is sub topic.4</p>
<br><br><br><br><br><br><br><br><br><br>
12
OUTPUT
14
15
6 . Creation of Forms
Procedure:
Source code:
Open the notepad, type the below code and save as “Forms.html”
<html>
<head>
<title> Creation of Forms</title>
</head>
<body>
<font size=4 face=verdana>
<p align="center">
<font size=6 face=Arial style="background-color:yellow">Form Example</font>
</p>
<fieldset>
<legend>User lnformation:</legend>
First name:<input type="text" name="firstname"><br>
Lastname: <input type="text" name=lastname">
</fieldset>
<br>
<fieldset>
<legend>User Detai is: </legend >
Username:<input type="text" name="user"><br>
Password:<input type="password" name=password>
</fieldset>
<br>
<fieldset>
<legend>Male/Female Details:</legend>
<input type="radio" name="sex" value="Male"> Male<br>
<input type="radio" name="sex" value="Female">Female
</fieldset>
<br>
16
<fieldset>
<legend>Choose Your Country:</legend>
<select name="select">
<option value="lndia">lndia</option>
<option value="United State">United States</option>
<option value=''Austalia">Austalia</option>
<option value="New Zealend">New Zealend</option>
<option value="England">England</option>
</select>
<br>
</fieldset>
<br>
7 . Creation of Framesets
Procedure:
Source code:
open the notepad, type the below code and save as “frames.html”
<html>
<head>
<title>frames</title>
<frameset cols="20%,80%">
<frame src="a.html">
<frame src="b.html" name="right">
</frameset>
</head>
</html>
Open the notepad, type the below code and save as “a.html”
<html>
<body>
<h3>Courses Offered</h3>
<h4>
<ul type="*">
<li><a href="bsc.html" target="right">B.Sc Courses</a><br><br>
<li><a href="bcom.html" target="right">B.Com Courses</a><br><br>
</ul>
</h4>
<br><br>
</body>
</html>
Open the notepad, type the below code and save as “b.html”
<html>
<body>
<h1><center>
GITAMS Degree College-KADAPA</center></h1>
<hr><hr>
</html>
18
Open the notepad, type the below code and save as“bsc.html”
<html>
<body>
<h3>B.Sc Courses</h3>
<hr>
<h4><ul type="*">
<li>B.Sc - MSCS<br>
<li>B.Sc - MPCS<br>
<li> B.Sc - MPC
<li>B.Sc - BZC
</ul>
</h4>
</body>
</html>
open the notepad, type the below code and save as “bcom.html”
<html>
<body>
<h3>BCOM Courses</h3>
<hr>
<h4>
<ul type="*">
<li>B.Com - General<br>
<li>B.Com - Computer Applications<br>
<li>BBA<br>
</ul>
</h4>
</body>
</html>
19
OUTPUT
20
Open the Notepad, Type the below code and save as “Internal.html”
Procedure:
Source code:
<html>
<title> Internal/Embeded Style Sheet </title>
<style>
21
h1
{
font-family:Arial;color:green;
}
h2
{
font-family:verdana;color:red;
}
p
{
font-family:script;color:blue
}
</style>
</head>
<body>
<h1>GITAMS Degree College-Kadapa</h1>
<h2>Simple embedded/Internal Style Sheet </h2> <br>
<p> This is B.Com Computer Application</p> <br>
</body>
</html>
OUTPUT
22
Open the Notepad, Type the below code and save as “Style.css”
Procedure:
Source code:
h1
{
font-family:Arial;color:green;
}
h2
{
font-family:verdana;color:red;
}
p
{
font-family:script;color:blue
}
Open the Notepad, Type the below code and save as “External.html”
Procedure:
Source code:
<html>
<head>
<title> External Style Sheet</title>
<link rel=”stylesheet” href=”style.css”>
</head>
<body>
<h1>GITAMS Degree College-Kadapa</h1>
<h2>Simple embedded/Internal Style Sheet </h2> <br>
<p> This is B.Com Computer Application</p> <br>
</body>
</html>
23
OUTPUT