Ecom
Ecom
Programme: BCOM Semester: VI Paper Code: 308 Academic Year: 2022- 2023
INTRODUCTION TO HYPERLINK IN
HTML
E-COMMERCE PRACTICAL FILE
INTRODUCTION TO TABLES IN
HTML
13. Create a table containing Sr No. ,
Name and Marks of 10 students.(Use
all the attributes of table tag i.e.
border,bgcolor,width,cellspacing and
cell padding)
14. Displa the table with the given
y
format with row-span and col-span
Semester Pass
Percentage
BBA I 99%
BCA III 98%
I 97%
MCA I 97%
E-COMMERCE PRACTICAL FILE
E-COMMERCE
PRACTICAL FILE
© Copyright Act
Developed By: Developer Name
PRACTICAL-1
WORLD WIDE WEB:- World Wide Web, which is also known as a Web, is a
collection of websites or web pages stored in web servers and connected to local
computers through the internet. These websites contain text pages, digital
images, audios, videos, etc. Users can access the content of these sites from any
part of the world over the internet using their devices such as computers,
laptops, cell phones, etc. The WWW, along with internet, enables the retrieval
and display of text and media to your device.
Small websites store all of their Web Pages on a single server, but big websites or
organizations place their Web Pages on different servers in different countries so
that when users of a country search their site they could get the information
quickly from the nearest server.
WEB BROWSER:- Web browsers are programs that allow you to access web
pages on the Internet, read HTML (hypertext markup language) documents on
your computer, or view your local intranet site. These browsers don't just
display information. They also help you find information using search engines,
purchase products online using various online shopping sites, interact with other
people using social media services, use web-based editing applications to create
documents, and much more.
When browsing the web, JAWS gives you quick access to the information you
need, and provides detailed information about the structure and organization of
web pages. Tables, lists, headings, and alternate text for images are all
announced. The information comes right from the HTML used to create the
page. HTML is designed with accessibility in mind, and JAWS supports more
of the built-in HTML accessibility features than any other screen reader.
E-COMMERCE PRACTICAL FILE
3. Search Interfaces
Database:- All the information on the web is stored in database. It consists of huge
web resources.
Web crawler, database and the search interface are the major component of a
search engine that actually makes search engine to work. Search engines make
use of Boolean expression AND, OR, NOT to restrict and widen the results of a
search.
Following are the steps that are performed by the search engine:
The search engine looks for the keyword in the index for predefined
database instead of going directly to the web to search for the keyword.
It then uses software to search for the information in the database. This
software component is known as web crawler.
Once web crawler finds the pages, the search engine then shows the
relevant web pages as a result. These retrieved web pages generally
include title of page, size of text portion, first several sentences etc.
These search criteria may vary from one search engine to the other. The retrieved information is
ranked according to various factors such as frequency of keywords, relevancy of information,
links etc.
Architecture:-
The search engine architecture comprises of the three basic layers listed below:
Content collection and refinement.
Search core
User and application interfaces
E-COMMERCE PRACTICAL FILE
PRACTICAL-2
Q. Create a web page containing basic elements of HTML, in which student must write
description about herself.
Ans.
Source code:-
<html>
<head>
<title>Q2 </title>
<body>
My name is Anshul. I am 20 years old. I am doing my graduation in BCOM from XYZ
college.
I have done my schooling from ABC school. My hobbies are playing football,
cinematography, etc.
</body>
</html>
Output:-
E-COMMERCE PRACTICAL FILE
E-COMMERCE PRACTICAL FILE
PRACTICAL-3
Q. Write HTML code which display the following expression. Put the heading as
“Chemical Equation”
4H3PO3 = 3H3PO4 + PH3 and other expression as Pnew = Pold + x2 –y acosx.
Ans.
Source code:-
<html>
<h1> Chemical equation </h1>
<title> Anshul</title>
<body>
4H3PO3 = 3H3PO4 + PH3
<br>Pnew = Pold + x2-y acosx </br>
</body>
</html>
Output:-
E-COMMERCE PRACTICAL FILE
PRACTICAL-4
Q. Create a web page describing your 4 friend, where default font size should be 6.
Assign a suitable background color and text color.
Ans.
Source code:-
<html>
<head>
<body bgcolor="#355C7D">
<title> Anshul</title>
<p>
<font size="6" color="#F8B195">
1- My childhood freind, we went to school together.
</font>
</p>
<p>
<font size="6" color="#F8B195">
2- The "wise guy". He's the retro soul of our group.
</font>
</p>
<p>
<font size="6" color="#F8B195">
3- The Stickman. He can't kick a football.
</font>
</p>
<p>
<font size="6" color="#F8B195">
4- We grew up together, we bonded over movies.
</font>
</p>
</body>
</html>
E-COMMERCE PRACTICAL FILE
Output:-
PRACTICAL-5
Q. Create a web page using HTML that has an ordered list of 5 elements and
unordered list of 5 elements.
Ans.
Source code:-
<html>
<head>
<title>question 5</title>
</head>
<body>
E-COMMERCE PRACTICAL FILE
<ol>
<B>Fruits</B><br>
<li>Mango</li>
<li>Kivi</li>
<li>Apple</li>
<li>Banana</li>
<li>Grape</li>
</ol>
<ul>
<B>Vegetables</B><br>
<li>Potato</li>
<li>Tomato</li>
<li>Ladyfinger</li>
<li>Brinjal</li>
<li>Onion</li>
</ul>
</body>
</html>
Output:-
PRACTICAL-6
Ans.
Source code:-
<html>
<head>
<title>Q6 </title>
</head>
<body>
<h1>Fruits & Vegetables</h1>
C. Vegetable
<ul>
<li>Onion</li>
<li>Potato</li>
</ul>
D. Fruits
<ul>
<li>Mango</li>
<li>Grapes</li>
</ul>
<h1> Newspapers & Magazines</h1>
<ul>
<li>Newspaper</li>
<ol start=5>
<li>TOI</li>
<li>HT</li>
<li>Navbharat Times</li>
</ol>
<li>Magazines</li>
<ol type="i">
<li>The Week</li>
<li>India Today</li>
</ol>
</ul>
</body>
</html>
Output:-
PRACTICAL-7
Wheat
-A baked food made of flour.
Coffee
-A drink made from roasted beans.
Ans.
Source code:-
<html>
<head>
<title> Q7 </title>
</head>
<body>
<dl>
<dt><b> Wheat </dt></b>
<dd> A baked food made of flour. </dd>
<dt><b> Coffee </dt></b>
<dd> A drink made from roasted beans. </dd>
</dl>
</body>
</html>
Output:-
PRACTICAL-8
Source code:-
<html>
<head>
<title> Q8 </title>
</head>
<body>
<h1> HTML Image </h1>
<center><img width = "400" align="top" src="images/pierre.jpg" alt="Pierre"/></center>
<img width = "400" align="right" src="images/goethe.jpg" alt="Goethe"/>
<img width = "400" align="left" src="images/musashi.jpg" alt="Musashi"/>
</body>
</html>
Output:-
E-COMMERCE PRACTICAL FILE
PRACTICAL-9
Source code:-
<html>
<head>
<title> Q9 </title>
</head>
<body>
<h1> Hyperlinks</h1>
<p><a href="https://www.nvidia.com/">NVIDIA</a></p>
</body>
</html>
Output:-
PRACTICAL-10
Source code:-
<html>
<head>
<title> Q10 </title>
</head>
<body>
<h1> Hyperlink to an image </h1>
<p><a href=" https://www.youtube.com/watch?v=Gsq1QhVDXyY">
<img src="images/r9.jpg" alt="R9" width="400"</a></p>
</body>
</html>
Output:-