You are on page 1of 10

OF HTM L

B AS IC S
T S I N GH
MANJEE
3
BY-

F.A . – CLASS - Xth

U T E R Roll No.-
15
COMP / 1 1 / 2 01 0
Date- 26
INTRODUCTION TO
HTML
HTML, which stands for Hypertext Markup
Language, is the predominant markup language for
web pages. A markup language is a set of markup tags,
and HTML uses markup tags to describe web pages.
HTML is written in the form of HTML elements
consisting of "tags" surrounded by angle brackets (like
<html>) within the web page content. HTML tags
normally come in pairs like <b> and </b>. ).
PURPOSE OF HTML
HTML elements form the building blocks of all
websites. HTML allows images and objects to be
embedded and can be used to create
interactive forms. It provides a means to create
structured documents by denoting structural
semantics for text such as headings, paragraphs,
lists, links, quotes and other items. It can embed
scripts in languages such as JavaScript which
affect the behavior of HTML WebPages.
Elements…
HTML documents are composed entirely of
HTML elements that, in their most general form
have three components: a pair of element tags, a
"start tag" and "end tag"; some element attributes
within the start tag; and finally, any textual and
graphical content between the start and end tags.
The HTML element is everything between and
including the tags. Each tag is enclosed in angle
brackets.
WHAT ARE TAGS
 In the creating of HTML template, you have already
dealt with some of the most basic tags in HTML.
HTML tags are keyword surrounded by angle brackets
like - <html>.
Most of the HTML tags require opening & closing.
Like - <I>…</I>.
The first tag in the pair is the start tag & the second is
the close tag.
FORMAT OF
HTML
<html>
<head>
<title>Hello HTML</title>
</head>
<body>
<p>Hello World!</p>
</body>
</html>
DIFFERENCE BETWEEN
EMPTY & CONTAINER TAGs.
CONTAINER
EMPTY TAG’s. TAG’s.
Empty tags are Container tags are
those tags which those tags which
requires only requires both opening
& closing also.
opening, not
Example-
closing.
<html>….</html>.
Example - <br>
DESCRIPTION OF THE
ELEMENT’S OF HTML
<html>….</html> tag is use to inform the web browser
that it is dealing with an HTML document.
<head>..</head> the header section of an HTML
document is being indicated by this tag, which contain
Title of the document.
 <title>..</title> tag is use to display the title of the HTML
document.
<body>..</body> tag enclose the main part of the
document. It can be any picture, text, links etc. It also
contain background, bgcolor, text, link, alink, vlink,
leftmargin & topmargine as attributes.
What are Attributes?
HTML elements can have attributes .
Attributes provide additional information about
the element.
Attributes are always specified in the starter
tag.
Attributes can come in name /value pairs like :
name=“value”.
K IN G
T H AN
YO U .

. I N I M AM
MOI H GH
O ––
TO
T
E T S IN
MAN J E

You might also like