LINGAYA’S LALITA DEVI INSTITUTE OF MANAGEMENT &
SCIENCES
Affiliated to GGSIP University & Govt. of NCT of
Delhi ‘A’ grade NAAC Accredited Institution
E- Commerce
Lab File
BBA 108 Semester 2nd 2018
Submitted Dheeraj Goyal
By:
Roll NO: 40719201717
Section: B
Branch: BBA
SU B MI T T E D T O : MS . PR I Y A NK A T Y A G I
2 E- Commerce Lab
File
INDEX
Q. No Questions Date
1. Create a new page, start with a web 15- 01- 2018
page using your name and describe
yourself.
2. Write a program for background color. 17- 01- 2018
3. Write a program for FONT tag. 17- 01- 2018
4. Write a program for preserve <pre> tag. 25- 01- 2018
5. Write a program for Block quote tag. 25- 01- 2018
6. Write a program for <tt> tag. 01- 02- 2018
7. Create a table in HTML. 01- 02- 2018
8. Create a form 02- 02-
2018
a)Name, b) city, c) state, d)
email Submit, reset and ok button.
9. Write a program for background 02- 02-
image. 2018
10. Write a program for hyperlink and with 08- 02-
2018
different color<a>.
11. Write a program for HOME| ABOUT 08- 02-
2018
US| CONTACT US| BLOG|<DIV>.
12. Write a program for order list or <ol>. 16- 02- 2018
13. Write a program for unordered list or 16- 02- 2018
Lingaya’s Lalita Devi Institute Of Management & Sciences 2
3 E- Commerce Lab
File<ul>.
Lingaya’s Lalita Devi Institute Of Management & Sciences 2
3 E- Commerce Lab
File
14. Create the page for moving image 19- 03- 2018
<marquee> tag.
15. Write a program for change color on 19- 03- 2018
hyperlink.
16. Write a program for link tag used with 21- 03- 2018
external CSS
17. Explain the implicit and explicit tag. 26- 03-
2018
18. Explain the HTML with Tools. 26- 03-
2018
E- COMMERCE LAB QUESTIONS
1. Create a web page on describe yourself by using basic headings
and paragraph tagsin HTML.
Ans. <html>
<head>
<title>Assignment 1</title>
</head>
<body>
<h1>Introduction</h1>
<p> My name is Dheeraj Goyal. I amin my first semester in BBA at Lingaya’s
Lalita Devi Institute of Managements& Sciences. In thismemo, I amgoing to tell
you little bit about my background and hobbies & achievements. I wasborn in
1997, December 5 in khanpur , New Delhi. I completed my 12th from Dr
Radhakrishnan International School, Lajpat Nagar.
Lingaya’s Lalita Devi Institute Of Management & Sciences 3
4 E- Commerce Lab
File
I belong to the commerce background.</p>
<h2>Hobbies& Achievements</h2>
<p>I like playing Cricket , badminton and mind games. I always enjoyed reading,
writing businessstudies & accounts problem. I have achieved many different goals
in my life. Some of my achievementsare bigger than the others, which hasgiven
me greater satisfaction. I toped in CTF in my school life. Getting my driving license.
Going in a reputed college. Selected in quiz competition in my first semester in my
college. My achievementshave helped me to get ahead in life.</p>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences 4
5 E- Commerce Lab
File
2. Write a program for background
color. Ans. <html>
<head>
<title> Assignment 2 </title>
</head>
<body bgcolor="#FF4500"
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences 5
6 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences 6
7 E- Commerce Lab
File
3. Write a program for FONT
tag. Ans. <html>
<head>
<title> Assignment 3</title>
</head>
<body>
<font size="+6"> RAHUL KARAKOTI="+6"</font><br />
<font size="+4"> HIMANSHU SAINI="+4"</font><br />
<font size="+2"> YASH GUPTA="+2"</font><br />
<font size="3"> SAGAR AGGARWAL="3"</font><br />
<font size="5"> AKASH CHAUHAN="5"</font><br />
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences 7
8 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences 8
9 E- Commerce Lab
File
4. Write a programfor preserve <pre>
tag. Ans. <html>
<head>
<title> Assignment 4</title>
</head>
<body>
<pre>
HELLO
MY NAME ISDHEERAJ GOYAL
I AMDOING MY GRADUATIONFROMLLDIMS.
</pre>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences 9
10 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
11 E- Commerce Lab
File
5. Write a program for block quote
tag. Ans. <html>
<head>
<title> Assignment 5 </title>
</head>
<body>
<blockquote> Hii friends, my name is Dheeraj Goyal from New Delhi, India. I
am parsuing bachelor of business administration from LLDIMS.</blockquote>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
12 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
13 E- Commerce Lab
File
6. Write a program for <tt>
tag. Ans. <html>
<head>
<title> Assignment 6 </title>
</head>
<body>
<p> RAHUL VINU </p>
<tt> RAHUL IS MY CLASSMATE AND HE LIKES TO PLAY MINI MILITIA
ALLOT. HE IS CRAZY FOR MOBILE GAMES AND MY BEST FRIEND.</tt>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
14 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
15 E- Commerce Lab
File
7. Create a table.
FIRST NAME LAST NAME ADDRESS
Rahul Karakoti Kotla
Sagar Aggarwal Chattarpur
Himanshu Saini Ashram
Ans. <html>
<head>
<title> Assignment 7</title>
</head>
<body>
<TABLE border="5">
<tr>
<td> FIRST NAME </td>
<td> LAST NAME </td>
<td> ADDRESS </td>
</tr>
<tr>
<td> Rahul </td>
Lingaya’s Lalita Devi Institute Of Management & Sciences
16 E- Commerce Lab
File
<td> Karakoti </td>
<td> Kotla </td>
</tr>
<tr>
<td> Sagar </td>
<td> Aggarwal </td>
<td> Chattarpur </td>
</tr>
<tr>
<td> Himanshu </td>
<td> Saini </td>
<td> Ashram</td>
</tr>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
17 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
18 E- Commerce Lab
File
8. Create a form.
(a)Name, (b) City, (c) State, (d) E-
mail Submit, Reset and Ok
button.
Ans. <html>
<head>
<title> Assignment 8 </title>
</head>
<body>
<form action="action_page.php" method="post">
NAME:<input type="TEXT" name="Name" Value="Dheeraj"><br><br>
CITY:<input type="TEXT" name="CITY NAME" value="DELHI"><br><br>
STATE:<input type="TEXT" name="STATE NAME" value=" NEW DELHI"><br><br>
EMAIL ID:<input type="TEXT" name="EMAIL- ID"
value="dheerajgoyal@gmail.com"><br><br>
<input type="submit" value="Submit"/>
<input type="reset" value="Reset"/>
<input type="button" value="Okay"/>
Lingaya’s Lalita Devi Institute Of Management & Sciences
19 E- Commerce Lab
File
</form>
Lingaya’s Lalita Devi Institute Of Management & Sciences
19 E- Commerce Lab
File
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
20 E- Commerce Lab
File
9. Write a programfor background
image. Ans. <html>
<head>
<title> Assignment 9 </title>
</head>
<body background="got- 1500279769.jpg">
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
21 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
22 E- Commerce Lab
File
10. Write a program for hyperlink and with different color
Anchor<a>. Ans. <html>
<head>
<title>Assignment 10 </title>
</head>
<body>
<a href="http://example.com/" style="color:#CC6600"> My name is Dheeraj Goyal.
</a>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
23 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
24 E- Commerce Lab
File
11. Write a programfor HOME| ABOUT US| CONTACT US| BLOG|
<DIV>. Ans. <html>
<head>
<title> Assignment 11</title>
</head>
<body>
<div id="menu" align="middle">
<a href="/index.htm"> HOME </a>|
<a href="/about/index.htm"> ABOUT US </a> |
<a href="/about/contact_us.htm">CONTACT US </a> |
<a href="/about/index.htm"> BLOG </a> |
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
25 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
26 E- Commerce Lab
File
12. Write a program for order list or
<ol>. Ans. <html>
<head>
<title> Assignment 12 </title>
</head>
<body>
<ol>
<li> Maggi </li>
<li> Chips </li>
<li> Soft Drinks </li>
<li> Sweets </li>
</ol>
<ol>
<li> Rahul Karakoti </li>
<li> Sagar Aggarwal </li>
<li> Himanshu Saini </li>
<li> Yash Gupta</li>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
27 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
28 E- Commerce Lab
File
13. Write a program for unordered list or
<ul>. Ans. <html>
<head>
<title> Assignment 13 </title>
</head>
<body>
<ul>
<li> Rahul Karakoti </li>
<li> Sagar Aggarwal </li>
<li> Himanshu Saini </li>
<li> Yash Gupta </li>
<li> Saurah Mishra </li>
<li> Aman Makkhija </li>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
29 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
30 E- Commerce Lab
File
14. Create the page for moving image <marquee>
tag. Ans. <html>
<head>
<title> Assignment 14 </title>
</head>
<body>
<marquee direction="left"> <IMG width="400" height="450" src="got-
1500279769.jpg"> </MARQUEE>
<marquee direction="right"> GAME OF THRONS </marquee>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
31 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
32 E- Commerce Lab
File
15. Write a program for change color on
hyperlink. Ans. <html>
<head>
<title> Assignment 15 </title>
</head>
<body>
<a href="change- hyperlink- color.php" style="color:#FF6633">My name is Dheeraj
Goyal. I live in New Delhi, India.</a>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
33 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
34 E- Commerce Lab
File
16. Write a program for link tag used with external
CSS. Ans. <head>
<html>
<head>
<title> Assignment 16 </title>
<link rel="stylesheet" type="text/css" href="Styles.CSS">
</head>
<body>
<h1> DHEERAJ GOYAL </h1>
<P> I am20 yearsold and persuing BBA at LLDIMS.</P>
</body>
</html>
Lingaya’s Lalita Devi Institute Of Management & Sciences
35 E- Commerce Lab
File
Lingaya’s Lalita Devi Institute Of Management & Sciences
36 E- Commerce Lab
File
17. Explain the implicit and explicit
tag. Ans. IMPLICIT TAG
Implicit tagsare those that allow the browser to choose, within limitations, how the
marked- up text will be displayed. Header tags are actually an example of an
implicit tag, since the HTML designer has no control over how much bigger or
smaller a header tag will be. Although most browsers will render header tags in
somewhat similar ways, others (for instance, non- graphical browsers) have to
come up with another system for emphasis, such asunderlining or highlighting the
text.
Because HTML was originally created with the overriding mission of being
displayed on nearly any computer system, implicit tags for emphasis were a
necessity. HTML allows the designer to decide what text will be emphasized. But
only explicit tagstell the Web browser how to render that text.
Implicit styles are often called logical styles, since they allow the
browser some freedom in how it will display the text. These tags, like the
header tags, are generally relative to one another, depending on the browser
being used to view them.For some of the common implicit (logical) tags
Some Basic Logical HTML Tags
Tags Meaning Generally Rendered
as…
<EM>, </EM> Emphasis Italictext
<STRONG>, </STRONG> Strong Bold text
emphasis
<TT>, </TT> Teletype Monospaced text
It includes a section that tells you how these tags are often rendered in graphical
Web browsers. There's no rule for this, though, and the tags don't necessarily
have to be rendered in that way.
EXPLICIT TAG
Explicit tags are also often called physicaltags, since they very specifically
tell the Web browser how you want the text to physically appear. The
Lingaya’s Lalita Devi Institute Of Management & Sciences
37 E- Commerce Lab
browserFile
is given no choice in the matter.
Lingaya’s Lalita Devi Institute Of Management & Sciences
37 E- Commerce Lab
File
The basic explicit tags are containers that let the user mark text as bold,
italic, or underlined.
HTML Physical Container Tags
Tags Meaning
<B>, </B> Bold text
<I>, </I> Italictext
<U>, </U> Underlined text
Note:
ned text (notable among them is Netscape Navigator), because hypertext links are also often displayed asunderlined,
With these tags, the browser really has no choice- it must either display the text
as defined or, if it can't do that, then it must add no emphasis to the text. This is
both good and bad for you asthe designer. If you prefer that text not be
emphasized at all if it can't be italic, for example, then you should use the<I> tag.
Lingaya’s Lalita Devi Institute Of Management & Sciences
38 E- Commerce Lab
File
18. Explain the HTML with Tools.
Ans.This HTML web page includes online html toolsand html toolbars which
we recommend.
HTML Validator
The W3C provides a free HTML Validator service. This HTML tool checks web
documents for comformance with the W3CRecommendationsand other standards.
Validate by URI Validate the HTML coding of a "live" page. Enter the
URL of a page on a website and have the HTML Validator examine the
page.
Validate by File Upload Validate the HTML coding of a web page
on your computer. Browse to the location of the file on your computer
then have the HTML validator examine your file. Note: XP SP2 has
created a problem using this part of the W3C's validation service
when trying to upload via Internet Explorer. Use a different browser
and it will work fine.
Validate by direct input Validate HTML coding by copying and pasting
the code into the HTML validator interface.
Related HTML Code Validation Articles
Clean Compliant HTML Code vs Cost of Non Compliant HTML Code
Websites that causes your browser or computer to crash could be because
the web page contains coding errors or the page author has used non
compliant or browser specific code.
Code Validation - Clean Code Code validation isthe process of checking
that the coding of a web page is in compliance with the standards and
recommendationsset by the World Wide Web Consortium (W3C) for
the web.
Validate HTML Code - HTML Code Validators HTML (Hyper Text
Markup Language) code validators check that the web page HTML
coding is in compliance with HTML standardsset by the W3C.
Link Checker
The W3C provides a free link checker. This HTML tool checks the
linkswithin a web page then produces a report showing all working links
along with those that are broken.
Lingaya’s Lalita Devi Institute Of Management & Sciences
39 E- Commerce Lab
File
Related Link Checker Articles
Link Check - Link Checker Validators Checking a site for broken links is
Lingaya’s Lalita Devi Institute Of Management & Sciences
39 E- Commerce Lab
File
important to a web site's success. If the web page/web site contains
broken links the search engine spiders will not find the page refered to
and your site's credibility could be damaged when the visitor
continually finds broken links.
Shorten URLS
TinyURL!™ Providesa service where you can shorten long URLS.
Colour Pickers
HTML Color Picker A online colour picker. Select a colour and the HTML
color value appears.
Lingaya’s Lalita Devi Institute Of Management & Sciences