0% found this document useful (0 votes)
17 views15 pages

HTML Theory PDF

HTML, or HyperText Markup Language, is the standard markup language for creating web pages and describes their structure through elements. Each HTML element consists of a start tag, content, and an end tag, with attributes providing additional information. The document is structured with specific tags such as <html>, <head>, <body>, and <title>, and there are both paired and unpaired tags used in HTML.

Uploaded by

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

HTML Theory PDF

HTML, or HyperText Markup Language, is the standard markup language for creating web pages and describes their structure through elements. Each HTML element consists of a start tag, content, and an end tag, with attributes providing additional information. The document is structured with specific tags such as <html>, <head>, <body>, and <title>, and there are both paired and unpaired tags used in HTML.

Uploaded by

dipankarnath788
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

HTML THEORY

</>
Tim Berners-Lee
WHAT IS HTML
The HyperText Markup
Language or HTML is the
standard markup language for
documents designed to be
displayed in a web browser.
• 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.
ELEMENTS OF HTML
An HTML element is defined by a start tag,
some content, and an end tag.

Examples of some HTML elements:

<h1>My First Heading</h1>


<p>My first paragraph.</p>
The HTML document itself begins
with <html> and ends
with </html>.
The visible part of the HTML
document is
between <body> and </body>.
ATTRIBUTE
All HTML elements can have attributes
· Attributes provide additional information
about elements
WHAT IS URL
A URL (Uniform Resource Locator) is a unique
identifier used to locate a resource on the
Internet. It is also referred to as a web
address.
IN HTML , URI ARE USEd TO
dO THE FOLLOWINg:-
• Link to another document to resource.
• Link to an external style sheet or dcript.
• Create an image map.
• Submit a form.
• Create a frame document.
• Cite an external reference.
• Refer to metadata conventions describing a
document
HISTORY OF HTML:-

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.
HOW MANY TYpE OF TAgS IN
HTML ?

There are two kinds of HTML tags

• Paired And
• Unpaired
pAIREd ANd UNpAIREd TAg.
Paired tags require an opening tag that turns a
formatting feature on and a closing tag that
turns the feature off.
For example, <u> and </u> will underline text.

If any html tag has both opening and


closing tag in a single tag,then such html
tag is known as unpaired tag. Ex: br, hr,
img, etc.
<html>
<head>
<title>my first web page</title>
</head>
<body>

</body>
</html>
<BOdY>TAg
The <body> tag defines the document's
body. The <body> element contains all the
contents of an HTML document, such as
headings, paragraphs, images, hyperlinks,
tables, lists, etc. Note: There can only be one
<body> element in an HTML document.
<HEAd>TAg

The <head> tag in HTML is used


to define the head portion of the
document which contains
information related to the
document.
<TITLE> TAg

• The <title> tag defines the title of


the document. The title must be
text-only, and it is shown in the
browser's title bar or in the
page's tab

You might also like