Professional Documents
Culture Documents
E-COMMERCE FILE ON
HTML
(BBA-112)
SESSION: 2021-2024
SUBMITTED AT
DELHI SCHOOL OF PROFESSIONAL STUDIES AND RESEARCH
ROHINI, NEW DELHI-85
[AFFILIATED TO GGSIPU - NEW DELHI]
SUBMITTED BY SUBMITTED TO
UJJAWAL MISHRA MS SHEETAL
(BBA 2A) (ASSISTANT PROFESSOR)
ENROLLMENT NO:
00321701721
CERTIFICATE
1|Page
LAB PRACTICAL FILE E-COMMERCE
MS SHEETAL
ASSISTANT PROFESSOR DSPSR
DECLARATION
2|Page
LAB PRACTICAL FILE E-COMMERCE
UJJAWAL MISHRA
BBA CLASS
2A
3|Page
LAB PRACTICAL FILE E-COMMERCE
INDEX
S.NO CONTENT PG.NO T.SIGN
1 ACTIVITY-1(implement the 5 to 7
HTML code using)
2 ACTIVITY-2( implement 8 to 9
different attributes for tags)
3 ACTIVITY-3( implement 10 to 12
unordered list and ordered
list (use nesting))
4 ACTIVITY-4( implement 13 to 15
table)
5 ACTIVITY-5 (implement local 16 to 18
links )
6 ACTIVITY-6(implement 19 to 20
internal links)
7 ACTIVITY-7( external links) 21 to 22
8 ACTIVITY-8( insert para B/w 23 to 24
two imgs
9 ACTIVITY-9 ( frames) 25 to 26
10 ACTIVITY-10 (make online 27 to 31
registration form
11 ACTIVITY-11(implement 32 to 33
inline style sheets)
12 ACTIVITY-12( embedding 34 to 35
style sheet)
13 ACTIVITY-13(inline style 36 to 37
sheet)
4|Page
LAB PRACTICAL FILE E-COMMERCE
Question:-1
Implement the HTML code using:
a)Paragraph
b)Heading tag(from h1-h6)
c)BlockQuote
d)Address
e)Pre Formatted Text
f)Div
Solution:-
<html>
<head>
<TITLE>HTML TAGES</TITLE></HEAD>
<h1> This's the my first html assigment, In which i use different tags</h1>
<blockquotes> Stocks are a type of equity security, and they represent ownership.</blockquotes>
<pre> S
5|Page
LAB PRACTICAL FILE E-COMMERCE
<div><p> This time company deals for so much loss and last in few months ,company and stock
holder bear loss so much</p></div>
<h1>Get dividend</h1>
</body>
</html>
6|Page
LAB PRACTICAL FILE E-COMMERCE
7|Page
LAB PRACTICAL FILE E-COMMERCE
Question:-2
Implement Different Attributes for tags:
a)Font
b)Body
c)Horizontal Line
Solution:-
<html>
<head>
<title>Atributes</title>
</head>
<p><font face="arial"> • A stock is a form of security that indicates that hlder had
proportionate ownership in the issuing corporation.</p></font>
<p><font face="arial"> • Corporation issue (sell) stock to raise funds to operate their
businesses.There are two main types of stock:common and preferred.</p></font>
<ol><font face="arial"
<li>FOREX MARKET</li>
<li>BINARY</li>
</ol><hr></font>
</body>
</html>
8|Page
LAB PRACTICAL FILE E-COMMERCE
9|Page
LAB PRACTICAL FILE E-COMMERCE
Question:-3
Implement Unordered List and Ordered List(use nesting)
List should be implemented as:
.(circle)Unordered List
1.ordered list
2.ordered list
3.ordered list
.(Disc)Unordered List
d.ordered list
e.ordered list
f.ordered list
.(sqaure)Unordered List
i. ordered list
ii. ordered list
iii.ordered list
Solution:-
<html>
<head>COMPANIES </head>
<title>STOCKS LISTS</title>
<ul type="circle"> <!-- unordered list with circle type starts from here-->
<LI>COMPANY
<ol type="1">
10 | P a g e
LAB PRACTICAL FILE E-COMMERCE
<LI>Bharti Airtel</l2>
<LI>Coal India</l4>
</ol></ul>
<ul type="disc"> <!-- unordered list with disc type starts from here-->
<LI>COMPANY
<LI>Tata Steel</l1>
<LI>Tata Motor</l2>
<LI>Tata Chemicals</l3>
<LI>Tata Power</l4>
</ol></ul>
<ul type="square"> <!-- unordered list with square type starts from here-->
<LI>COMPANY
<ol type="I">
<LI> GAIL</l3>
</ol></ul>
</body>
</html>
11 | P a g e
LAB PRACTICAL FILE E-COMMERCE
12 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-4
Implement Table using :
(cellspacing,cellpadding,rowspan,colspan,border,align,valign,bgcolor,backgrou
nd):
Table
Example
BBA SECOND SEMESTER e-COMMERCE Practical File
Tags Attributes empty/ output(y/
S.no
Implemented used container tag n)
face y
1 font size Container tag y
align y
border y
2 table rowspan Container tag y
colspan y
Solution:-
<HTML>
<HEAD>
<TITLE>Time-Table</TITLE>
</HEAD>
<BODY>
<CAPTION>TABLE-Table</CAPTION>
<TR>
</TR>
<TR>
13 | P a g e
LAB PRACTICAL FILE E-COMMERCE
<TD>TAGS IMPLEMENTED</TD>
<TD>ATTRIBUTES USED</TD>
<TD>EMPTY/CONTAINER TAG</TD>
<TD>OUTPUT(Y/N)</TD>
</TR>
<TR>
<TD ROWSPAN="3">FONT</TD>
<TD>FACE</TD>
<TD></TD>
</TR>
<TR>
<TD>SIZE</TD>
<TD>Y</TD>
</TR>
<TR>
<TD>ALIGN</TD>
<TD>Y</TD>
</TR>
<TR>
<TD ROWSPAN="3">2</TD>
<TD ROWSPAN="3">TABLE</TD>
<TD>BORDER</TD>
<TD>Y</TD>
</TR>
<TR>
<TD>ROWSPAN</TD>
<TD>Y</TD>
</TR>
14 | P a g e
LAB PRACTICAL FILE E-COMMERCE
<TR>
<TD>Y</TD>
</TR>
</TABLE>
</BODY>
</HTML>
15 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-5
Implement Local Link.
Solution:-
<html>
<head>
<title>LOCAL COMPANIES</title>
</head>
</ol>
</body>
</html>
<html>
<head>
<title> TEXTILES</title>
</head>
<body bgcolor="#FAAFBA">
16 | P a g e
LAB PRACTICAL FILE E-COMMERCE
</body>
</html>
17 | P a g e
LAB PRACTICAL FILE E-COMMERCE
18 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-6
Implement Internal Link.
Solution:-
<html>
<head><title>INTERNAL LINK</title>
</head>
<body bgcolor="#FAAFBA">
<p>1 a : the business or work in which one engages regularly. <br> b : an occupation requiring
manual or mechanical skill.<br> c : the persons engaged in an occupation.<br> 2 : the
business of buying and selling or bartering commodities. <br>3 : an act or instance of trading also
an exchange of property usually without use of money.</p>
<br><br><br><br><br><br><br><br>
<p>Options trading allows you to buy or sell stocks, ETFs etc. at a specific price within a specific
date.This type of trading also gives buyers the flexibility to not buy the security at the specified
price or date</p>
<p>A trading strategy is a systematic methodology used for buying and selling in the securities
markets.A trading strategy is based on predefined rules and criteria used when
19 | P a g e
LAB PRACTICAL FILE E-COMMERCE
making trading decisions. A trading strategy may be simple or complex, and involve considerations
such as investment style </p>
<A href="#IN">INDEX</A>
</body>
<html>
20 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-7
Implement External Link.
Solution:-
<html>
<head>
<title>INSTAGRAM</title>
</head>
<p>Social application where you meet with new people</p> <!--p tag use fron here-->
</body>
</html>
21 | P a g e
LAB PRACTICAL FILE E-COMMERCE
22 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-8
Insert paragraph between two Images.
Solution:-
<html>
<head>
</head>
<p>Thor Odinson is the Asgardian God of Thunder, the former king of Asgard and New Asgard, and
a founding member of the Avengers. When his irresponsible and impetuous behavior
reignited a conflict between Asgard and Jotunheim, Thor was denied the right to become king,
stripped of his power, and banished to Earth by Odin.</p>
</body>
</html>
23 | P a g e
LAB PRACTICAL FILE E-COMMERCE
24 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-9
Implement Frames:
frame 1 frame 2
frame 3
frame 5
frame 4
frame 6
Solution:-
<HTML>
<HEAD>
<TITLE>IMPLEMENTATION OF FRAMES</TITLE>
</HEAD>
<FRAMESET COLS="*,*">
<FRAME SRC="frame1.html">
<FRAME SRC="frame2.html">
</FRAMESET>
<FRAME SRC="frame3.html">
<FRAME SRC="frame4.html">
<FRAMESET ROWS="*,*">
<FRAME SRC="frame6.html">
</FRAMESET>
</FRAMESET>
</FRAMESET>
</HTML>
25 | P a g e
LAB PRACTICAL FILE E-COMMERCE
26 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-10
Make Online registration form.
Solution:-
<html>
<body>
<form>
<br>
<input type="TEXT" name=Uname >(Enter the your login name you want here)<br>
<br>
<Input type="password" name=rpwd>(retype your password to make sure your remember it,
<B>E-mail:</b>
<b>Date of birth:
DAY
<select>
27 | P a g e
LAB PRACTICAL FILE E-COMMERCE
<option>1</option><option>2</option><option>3</option><option>4</option><option>5</
option><option>6</option><option>7</option><option>8</option><option>9</
option><option>10</option><option>11</option><option>12</option><option>13</
option><option>14</option><option>15</option><option>16</option><option>17</
option><option>18</option><option>19</option><option>20</option><option>21</
option><option>22</option><option>23</option><option>24</option><option>25</
option><option>26</option><option>27</option><option>28</option><option>29</
option><option>30</option><option>31</option>
</select>
<!--select tag use here-->
MONTH
<select>
<option>JAN</option>
<!--option tag use from here-->
<option>FEB</option>
<option>MARCH</option>
<option>APRIL</option>
<option>MAY</option>
<option>JUNE</option>
<option>JULY</option>
<option>AUGUST</option>
<option>SEPTEMBER</option>
<option>OCTOBER</option>
<option>NOVEMBER</option>
<option>DECEMBER</option>
</select>
yera
<select>
<option>1990</option>
<option>1991</option>
<option>1992</option>
<option>1993</option>
<option>1994</option>
<option>1995</option>
28 | P a g e
LAB PRACTICAL FILE E-COMMERCE
<option>1996</option>
<option>1997</option>
<option>1998</option>
<option>1999</option>
<option>2000</option>
<option>2001</option>
<option>2002</option>
<option>2003</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
<option>2007</option>
<option>2008</option>
<option>2009</option>
<option>2010</option>
<option>2011</option>
<option>2012</option>
<option>2013</option>
<option>2014</option>
<option>2015</option>
<option>2016</option>
<option>2017</option>
<option>2018</option>
<option>2019</option>
<option>2020</option>
<option>2021</option>
<option>2022</option>
</select><br>
<br>
<br>
Your Hobbies:
29 | P a g e
LAB PRACTICAL FILE E-COMMERCE
<br>
<input type="checkbox">computer
<br>
<input type="checkbox">Sports
<br>
<br>
<input type="checkbox">Games
<br>
<input type="Radio">no
<br>
</form>
</body>
</html>
30 | P a g e
LAB PRACTICAL FILE E-COMMERCE
31 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-11
Implement Inline style sheets.
Solution:-
<HTML>
<HEAD>
</HEAD>
<BODY BGCOLOR="#FAAFBA">
E-commerce (electronic commerce) is the buying and selling of goods and services, or the
transmitting of funds or data, over an electronic network, primarily the internet. These business
transactions occur either as business-to-business (B2B), business-to-consumer (B2C), consumer-to-
consumer or consumer-to-business.</H2>
<p>There are three main types of e-commerce: business-to-business (websites such as Shopify),
business-to-consumer (websites such as Amazon), and consumer-to-consumer (websites such as
eBay).
</H1>
</body>
</html>
32 | P a g e
LAB PRACTICAL FILE E-COMMERCE
33 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-12
Implement Embedding style sheets.
Solution:-
<html>
<head>
<STYLE TYPE="TEXT/CSS">
</STYLE>
</HEAD>
<BODY BGCOLOR="#FAAFBA">
is used to create inline style. The style attribute can contain any CSS property between double
quotes.</H2>
</BODY>
</html>
34 | P a g e
LAB PRACTICAL FILE E-COMMERCE
35 | P a g e
LAB PRACTICAL FILE E-COMMERCE
Question:-13
Implement External Style sheets.
Solution:-
<html>
<head>
<title>EXTERNALCSS</title>
</head>
<body BGCOLOR="BLACK">
<h1>EXTERNAL CSS</h1>
<p>External CSS
An external style sheet is a separate CSS file that can be accessed by creating a link within the head
section of the webpage. Multiple web pages can use the same link to access the stylesheet. The link
to an external style sheet is placed within the head section of the page.<br>
What are
Inline CSS allows you to add styles to specific HTML elements. The internal CSS stylesheet allows
you to include CSS code in (head)section of a markup document. External stylesheet works by
linking a . css file, containing all the CSS rules, to an HTML document</p>
<h1>EXTERNAL CSS</h1>
An external style sheet is a separate CSS file that can be accessed by creating a link within the head
section of the webpage.</p>
</body>
<html>
36 | P a g e
LAB PRACTICAL FILE E-COMMERCE
STYLE .CSS
p {font-family:monotype corsiva;fontsize:16px;color:WHITE;}
37 | P a g e