E Commerce File
E Commerce File
E Commerce File
(AFFILIATED TO)
GURU GOBIND SINGH INDRAPRASTHA UNIVERSITY SECTOR-16C, DWARKA,
NEW DELHI
E-COMMERCE LAB
SUBMITTED TO: SUBMITTED BY:
Ms. Darshika Rohit Chandel
Assistant Professor 35324088819
Page | 2
Rohit Chandel
35324088819
Page | 3
Rohit Chandel
35324088819
Page | 4
Rohit Chandel
35324088819
Page | 5
PRACTICAL- 1
INTRODUCTION TO HTML
A) History
HTML was created by Sir Tim Berners Lee in late 1999 but was not released
officially, published in 1995 as HTML 2.0. HTML 4.01 was published in late 1999
and was a major version of HTML. HTML is a very evolving markup language and
has evolved with various versions updating. Long before its revised standards and
specifications are carried in, each version has allowed its user to create web pages
in a much easier and prettier way and make sites very efficient.
· HTML 1.0 was released in 1993 with the intention of sharing information
that can be readable and accessible via web browsers. But not many of the
developers were involved in creating websites. So the language was also
not growing.
· Then comes the HTML 2, published in 1995, which contains all the
features of HTML 1.0 along with that few additional features, which
remained as the standard markup language for designing and creating
websites until January 1997 and refined various core features of HTML.
· Then comes the HTML 3, where Dave Raggett who introduced a fresh
paper or draft on HTML. It included improved new features of HTML,
giving more powerful characteristics for webmasters in designing web
pages. But these powerful features of new HTML slowed down the
browser in applying further improvements.
Rohit Chandel
35324088819
Page | 6
· Then comes HTML 4.0 which is widely used and was a successful version
of HTML before HTML 5.0, which is currently released and used
worldwide. HTML 5 can be said for an extended version of HTML 4.01,
which was published in the year 2012.
B) Features
HTML 1.0
· The basic version of HTML has support for basic elements like text controls
and images. This was the very basic version of HTML with less support for
a wide range of HTML elements. It does not have rich features like styling
and other things that were related to how content will be rendered in a
browser.
Rohit Chandel
35324088819
Page | 7
· The initial version of HTML does not provide support for tables, font support,
etc., as it provides us in the latest version.
· We would also like to discuss that W3C did not exist before HTML 2.0;
hence it does not show details about HTML 1.
HTML 2
· HTML version 2.0 was developed in 1995 with basic intention of improving
HTML version 1.0. Now a standard got started to develop so as to maintain
common rules and regulations across different browsers. HTML 2.0 has
improved a lot in terms of the markup tags. In HTML 2.0 version concept
of form came into force. Forms were developed, but still, they had basic
tags like text boxes, buttons, etc.
· Also, the table came as an HTML tag. Now, in HTML tag 2.0, browsers also
came with the concept of creating their own layers of tags that were specific
to the browser itself. W3C was also formed. The main intention of W3C is
to maintain standard across different web browsers so that these browsers
understand and render HTML tags in a similar manner.
HTML 3.2
· It was developed in 1997. After HTML 2.0 was developed, the next version
of HTML was 3.2
Rohit Chandel
35324088819
Page | 8
· With version 3.2 of HTML, HTML tags were further improved. It is worth
noting that because of W3C standard maintenance, the newer version of
HTML was 3.2 instead of 3.
· Now, HTML 3.2 has better support for new form elements. Another
important feature what HTML 3.2 implemented was support for CSS. CSS
stands for Cascading Style Sheet. It is CSS that provides features to make
HTML tags look better on rendering it on browsers. CSS helps to style
HTML elements.
· With the upgradation of browsers to HTML 3.2, the browser also supported
for frame tags, although HTML specifications still do not support frame
markup tags.
HTML 4.01
Rohit Chandel
35324088819
Page | 9
HTML 5
This is the latest version of HTML. For a developer, it could be used in 2014. It came
up with lots of HTML tags support. HTML5 provided support for new form elements
like input element s of different types; geolocations support tags, etc.
Email – New HTML5 tag, which was added, is the input element of type email. This
is a form tag, although it could be used outside of a form tag also. This tag checks the
validation of the input value. It checks whether the value inserted is a valid email.
Password – This is another form tag that was added to receive a password from the
user. Being the password type field, the user types in the field are not visible directly
to the user but are represented by special symbols. These symbols save the password
from getting revealed on the browser.
Audio tag – This is a new audio tag that was implemented in HTML5. This tag helps
to add audio to our web page. We can use this tag to embed an audio clip into a web
page. This audio tag could be played on a webpage.
Semantic tags – Semantic tags are also known as structural tags. Structural tags are
the tags that provide structure to the HTML page. It helps it divide the HTML page
Rohit Chandel
35324088819
Page | 10
into different structures. These structures get combined into an HTML page itself to
form an HTML web page. Few of the important HTML semantic tags are figcaption,
<header>, <footer>
Section tag – This tag is used to semantic a section in an HTML page. A section tag
represents a section on a web page.
D) How to create an HTML web page, explain this with the help of an example.
· Windows 8 or later: Open the Start Screen (the window symbol at the bottom
left on your screen). Type Notepad.
· Windows 7 or earlier: Open Start > Programs > Accessories > Notepad
· Also change some preferences to get the application to save files correctly.
In Preferences > Format > choose "Plain Text"
· Then under "Open and Save", check the box that says "Display HTML files
as HTML code instead of formatted text".
<html>
<body>
<h1> Heading </h1>
<p> Paragraph </p> </body>
</html>
· Save the file on your computer. Select File > Save as in the Notepad menu.
· Name the file "index.htm" and set the encoding to UTF-8 (which is the
preferred encoding for HTML files).
Tip: You can use either .htm or .html as file extension. There is no difference, it
is up to you.
Open the saved HTML file in your favorite browser (double click on the file, or
rightclick - and choose "Open with").
Rohit Chandel
35324088819
Page | 12
Rohit Chandel
35324088819
Page | 13
Rohit Chandel
35324088819
Page | 14
</font></p>
</body>
</html>
Rohit Chandel
35324088819
Page | 15
______________________________________________________________________
The code:
<html>
<head>
<title>Amazon </title>
</head>
<body bgcolor="Pink" text="Green">
<h1 align="center"> <b> Welcome to good habits </b></h1>
<font size=+3>
<p> Pollution is the introduction of harmful materials into the environment. These harmful
materials are called pollutants.<b><i>).Pollution essentially effect the quality of life.
</i></b> The term <strike> "Pollution"</strike> We must take individual steps for
reduce pollution. They should plant more trees and make the earth greener.
<br> types of pollution are air pollution, water pollution, soil pollution. </p>
</font>
</body>
</html>
Rohit Chandel
35324088819
Page | 16
Rohit Chandel
35324088819
Page | 17
PRACTICAL 4
Illustrate the use of subscript and design the web page for the
following chemical equation:
C6H9AlO6
(NH4)3PO4
Al(OH)3
______________________________________________________________________
The code:
<html>
<body>
<h1> Subscript </h1>
<font size ="+2">
The sub tag defines subscript text. Subscript text appears half a character below the
normal line, and is sometimes rendered in a smaller font. <br>
Subscript text can be used for chemical formulas.<br> <br>
<center>
<b> C <sub> 6 </sub> H <sub> 9 </sub> AIO <sub> 6 </sub> <br> <br>
<b> (NH <sub> 4 </sub>) <sub> 3 </sub> PO <sub> 4 </sub> <br> <br>
<b> AI(OH) <sub> 3 </sub> <br>
</center>
</font>
</body>
</html>
Rohit Chandel
35324088819
Page | 18
Rohit Chandel
35324088819
Page | 19
PRACTICAL-5
5) Illustrate the use of superscript and design the web page for the
following Quadratic equation:
______________________________________________________________________
The code:
<html>
<body>
<h1> Superscript </h1>
<font size ="+2">
The sup tag defines superscript text. Superscript text appears half a character above
the normal line, and is sometimes rendered in a smaller font. <br> Superscript text
can be used for footnotes.
<br> <br>
<center>
<b> Standard Form <br>
<b> y = ax<sup> 2 </sup> + bx + c <br>
<br>
Vertex Form <br>
Rohit Chandel
35324088819
Page | 20
Rohit Chandel
35324088819
Page | 21
PRACTICAL-6
Rohit Chandel
35324088819
Page | 22
</font>
</body>
</html>
Rohit Chandel
35324088819
Page | 23
Rohit Chandel
35324088819
Page | 24
Rohit Chandel
35324088819
Page | 25
Rohit Chandel
35324088819
Page | 26
Rohit Chandel
35324088819
Page | 27
Rohit Chandel
35324088819
Page | 28
Rohit Chandel
35324088819
Page | 29
Rohit Chandel
35324088819
Page | 30
</body>
</html>
Rohit Chandel
35324088819
Page | 31
Rohit Chandel
35324088819
Page | 32
<td> T2 </td>
<td> ashish </td>
<td> singh </td>
<td> 1 june 2000 </td>
<td> B.COM </td>
</tr>
<tr>
Rohit Chandel
35324088819
Page | 33
<td> T3 </td>
<td> john </td>
<td> cena </td>
<td> 2 December 2002 </td>
<td> B.TECH </td>
</tr>
<tr>
<td> T4 </td>
<td> ashish </td>
<td> nehra </td>
<td> 20 August 2001 </td>
<td> B.com(H) </td>
</tr>
<tr>
<td> T5 </td>
<td> cobra </td>
<td> khan </td>
<td> 24 may 1999 </td>
<td> BBA </td>
</tr>
</table>
</html>
Rohit Chandel
3532088819
Page | 34
Rohit Chandel
3532088819
Page | 35
Rohit Chandel
3532088819
Page | 36
</tr>
</table>
</html>
Rohit Chandel
3532088819
Page | 38
Rohit Chandel
3532088819
<td> Sahil </td>
<td> Sharma </td>
<td> UU Pitampura </td>
<td> 8902423678 </td>
<td> Science </td>
<td> 50000 </td>
<td> 15000</td>
<td> 65000 </td>
</tr>
<tr>
<td> T3 </td>
<td> Rahul </td>
<td> Kumar </td>
<td> Green Park </td>
<td> 2316216515 </td>
<td> Arts </td>
<td> 80000 </td>
<td> 25000</td>
<td> 105000 </td>
</tr>
<tr>
<td> T4 </td>
<td> Rohit </td>
<td> Chandel </td>
<td> Sec 11 Dwarka </td> <td> 5439675614 </td>
<td> Marketing </td>
<td> 55000 </td>
<td> 10000</td>
<td> 65000</td>
</tr>
<tr>
<td> T5 </td>
<td> sunil </td>
Page | 40
Rohit Chandel
35324088819
Page | 41
Rohit Chandel
35324088819
Page | 42
<head>
</head>
<frameset cols="50%,20%,30%">
<frame
src="file:///C:/Users/hfrcc811/Desktop/Rohit.html
<frameset rows="35%,45%">
src="file:///C:/Users/hfrcc811/Desktop/Rohit.html
<frame
src="file:///C:/Users/hfrcc811/Desktop/Rohit.html
<Frame
src="file:///C:/Users/hfrcc811/Desktop/Rohit.html
</frameset>
</frameset>
</html>
Rohit Chandel
35324088819
Page | 43
Rohit Chandel
35324088819
Page | 44
Rohit Chandel
35324088819
Page | 45
Rohit Chandel
35324088819
Page | 46
PRACTICAL-16
<head>
</head>
<font color="green"
</font>
<form> <br>
*Company:
*First Name:
Rohit Chandel
35324088819
Page | 47
Name:
Address:
*Title:
*Phone:
<select name="dropdown">
*Job Function:
Rohit Chandel
35324088819
Page | 48
<br><br>
Dietary Requirements:
area><br> <br>
Expectation?:
</text area>
<br>
</form> </body>
Rohit Chandel
35324088819
Page | 49
</html>
</body>
</html>
Rohit Chandel
35324088819
Page | 50
Rohit Chandel
35324088819