0% found this document useful (0 votes)
30 views5 pages

E Commerce Lab Pratical 1

Uploaded by

dchhabra2005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views5 pages

E Commerce Lab Pratical 1

Uploaded by

dchhabra2005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

EXPERIMENT- 1

1. INTRODUCTION TO HTML
a) What is html?

HTML stands for Hyper Text Markup Language.

HTML is the standard markup language for creating Web


pages.

HTML describes the structure of a Web page.

HTML consists of a series of elements.

HTML elements tell the browser how to display the content.

HTML elements label pieces of content such as "this is a


heading", "this is a paragraph", "this is a link", etc.

Example-

Example Explained

 The <!DOCTYPE html> declaration defines that this


document is an HTML5 document.
 The <html> element is the root element of an HTML page.
 The <head> element contains meta information about the
HTML page.
 The <title> element specifies a title for the HTML page
(which is shown in the browser's title bar or in the page's
tab).
 The <body> element defines the document's body, and is
a container for all the visible contents, such as headings,
paragraphs, images, hyperlinks, tables, lists, etc.
 The <h1> element defines a large heading.
 The <p> element defines a paragraph.

2. HTML HISTORY

The first version of HTML was written by Tim Berners-Lee in 1993. Since
then, there have been many different versions of HTML. The most widely
used version throughout the 2000's was HTML 4.01, which became an
official standard in December 1999.

Another version, XHTML, was a rewrite of HTML as an XML language.


XML is a standard markup language that is used to create other markup
languages. Hundreds of XML languages are in use today, including GML
(Geography Markup Language), MathML, MusicML, and RSS (Really
Simple Syndication). Since each of these languages was written in a
common language (XML), their content can easily be shared across
applications. This makes XML potentially very powerful, and it's no
surprise that the W3C would create an XML version of HTML (again,
called XHTML). XHTML became an official standard in 2000, and was
updated in 2002. XHTML is very similar to HTML, but has stricter rules.
Strict rules are necessary for all XML languages, because without it,
interoperability between applications would be impossible.

Most pages on the Web today were built using either HTML 4.01 or
XHTML 1.0. However, in recent years, the W3C (in collaboration with
another organization, the WHATWG), has been working on a brand new
version of HTML, HTML5. Currently (2011), HTML5 is still a draft
specification, and is not yet an official standard. However, it is already
widely supported by browsers and other web-enabled devices, and is the
way of the future. Therefore, HTML5 is the primary language.

3. FEATURES OF HTML
 It is easy to learn and easy to use.
 It is platform-independent.
 Images, videos, and audio can be added to a web
page.
 Hypertext can be added to the text.
 It is a markup language.
4. VERSIONS OF HTML

Since the early days of the World Wide Web, there have been
many versions of HTML:

Year Version

1989 Tim Berners-Lee invented www

1991 Tim Berners-Lee invented HTML

1993 Dave Raggett drafted HTML+

1995 HTML Working Group defined HTML 2.0

1997 W3C Recommendation: HTML 3.2

1999 W3C Recommendation: HTML 4.01

2000 W3C Recommendation: XHTML 1.0

2008 WHATWG HTML5 First Public Draft


2012 WHATWG HTML5 Living standard

2014 W3C Recommendation: HTML5

2016 W3C Candidate Recommendation: HTML 5.1

2017 W3C Recommendation: HTML5.1 2nd Edition

2017 W3C Recommendation: HTML5.2

5. HOW TO CREATE A HTML WEB PAGE EXPLAIN EITH THE


HELP OF EXAMPLE

The first step of creating a web page is to create an HTML


document. An HTML document can be created in any text
editor even on a notepad. So any text editor can be used to
make an Html file. We just need to add
extension .html /.htm . Let us create the first basic HTML
program.
To create an HTML document follow the following steps:
Step 1: Open your text editor such as Notepad Sublimetext,
etc.

Step 2: Write the code given below in the text editor.


<!DOCTYPE html>
<html>
<head>
<title>First HTML file</title>
</head>
<body>
Hello Everyone!!
</body>
</html>
Step 3: Save this file with the .html/.htm extension.

Step 4: Open that file with any browser. The output will be
displayed.

So this is how we create a simple HTML document.

You might also like