SlideShare ist ein Scribd-Unternehmen logo
1 von 17
History of HTML
HTML stands for Hyper Text Markup Language,
which is the most widely used language on Web to
develop web pages.
HTML was created by Berners-Lee in late 1991
but "HTML 2.0" was the first standard HTML
specification which was published in 1995.
HTML 4.01 was a major version of HTML and it
was published in late 1999.
Though HTML 4.01 version is widely used but
currently we are having HTML-5 version which is an
extension to HTML 4.01, and this version was
published in 2012
HTML Versions
What is HTML?
• HTML stands for Hyper Text Markup Language
• HTML is a markup language
• A markup language is a set of markup tags
• The tags describe document content
• HTML documents contain HTML tags and plain
text
• HTML documents are also called web pages
• Hypertext refers to the way in which Web
pages (HTML documents) are linked together.
Thus the link available on a webpage are
called Hypertext.
• As its name suggests, HTML is a Markup
Language which means you use HTML to
simply "mark up" a text document with tags
that tell a Web browser how to structure it to
display.
• Originally, HTML was developed with the
intent of defining the structure of documents
like headings, paragraphs, lists, and so forth to
facilitate the sharing of scientific information
between researchers.
• Now, HTML is being widely used to format
web pages with the help of different tags
available in HTML language.
HTML Page Structure
<!DOCTYPE html>
<html>
<head>
Document header related tags
</head>
<body>
Document body related tags
</body>
</html>
The <!DOCTYPE> Declaration
The <!DOCTYPE> declaration helps the browser to
display a web page correctly.
There are many different documents on the web,
and a browser can only display an HTML page
100% correctly if it knows the HTML type and
version used.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
• The DOCTYPE declaration defines the
document type. The <!DOCTYPE> declaration
helps the browser to display a web page
correctly.
• The <!DOCTYPE> declaration tag is used by
the web browser to understand the version
of the HTML used in the document. Current
version of HTML is 5 and it makes use of the
following declaration:
<!DOCTYPE html>
• There are many other declaration types which
can be used in HTML document depending on
what version of HTML is being used.
• The text between <html> and </html>
describes the web page.
• The text between <head> tag represents the
document's header which can keep other
HTML tags like <title>, <link> etc.
• The text between <body> and </body> is the
visible page content
• The text between <h1> and </h1> is displayed
as a heading
• The text between <p> and </p> is displayed as
a paragraph
HTML Attributes
• HTML elements can have attributes
• Attributes provide additional information
about an element
• Attributes are always specified in the start tag
• Attributes come in name/value pairs like:
name="value"
Attribute Example
<a href="http://www.google.com">
This is a link</a>
HTML Headings
• Any document starts with a heading. You can use
different sizes for your headings. HTML also has
six levels of headings, which use the
elements<h1>, <h2>, <h3>, <h4>, <h5>, and
<h6>. While displaying any heading, browser
adds one line before and one line after that
heading.
• <h1> defines the most important heading. <h6>
defines the least important heading.
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
HTML Lines
• Horizontal lines are used to visually break
up sections of a document. The <hr> tag
creates a line from the current position in
the document to the right margin and
breaks the line accordingly.
• The <hr>tag creates a horizontal line in
an HTML page.
• The hr element can be used to separate
content.
Centering Content
• You can use <center> tag to put any content in the center
of the page or any table cell.
<!DOCTYPE html>
<html>
<head>
<title>Centring Content Example</title>
</head>
<body>
<p>This text is not in the center.</p>
<center>
<p>This text is in the center.</p>
</center>
</body>
</html>
HTML Paragraphs
• HTML documents are divided into paragraphs.
• The <p> tag offers a way to structure your text
into different paragraphs. Each paragraph of
text should go in between an opening <p> and
a closing </p> tag as shown below in the
example:
<p>This is a paragraph</p>
<p>This is another paragraph</p>
HTML Line Breaks
• Use the <br> tag if you want a line break (a new
line) without starting a new paragraph.
• Whenever you use the <br /> element, anything
following it starts from the next line. This tag is
an example of an empty element, where you do
not need opening and closing tags, as there is
nothing to go in between them.
• The <br /> tag has a space between the
characters br and the forward slash. If you omit
this space, older browsers will have trouble
rendering the line break, while if you miss the
forward slash character and just use <br> it is
not valid in XHTML.

Weitere ähnliche Inhalte

Was ist angesagt?

Web Design Notes
Web Design NotesWeb Design Notes
Web Design Notes
butest
 

Was ist angesagt? (20)

Html
HtmlHtml
Html
 
Html ppt
Html pptHtml ppt
Html ppt
 
Web Design Notes
Web Design NotesWeb Design Notes
Web Design Notes
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Html Slide Part-1
Html Slide Part-1Html Slide Part-1
Html Slide Part-1
 
Files in php
Files in phpFiles in php
Files in php
 
Html links
Html linksHtml links
Html links
 
A history of html
A history of htmlA history of html
A history of html
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Html grade 11
Html grade 11Html grade 11
Html grade 11
 
Links in Html
Links in HtmlLinks in Html
Links in Html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html basic tags
Html basic tagsHtml basic tags
Html basic tags
 
Html tables
Html tablesHtml tables
Html tables
 
Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Html tags or elements
Html tags or elementsHtml tags or elements
Html tags or elements
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 

Andere mochten auch

Hypertext markup language(html)
Hypertext markup language(html)Hypertext markup language(html)
Hypertext markup language(html)
Jayson Cortez
 

Andere mochten auch (7)

Hypertext markup language(html)
Hypertext markup language(html)Hypertext markup language(html)
Hypertext markup language(html)
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 
The Difference between HTML, XHTML & HTML5 for Beginners
The Difference between HTML, XHTML & HTML5 for BeginnersThe Difference between HTML, XHTML & HTML5 for Beginners
The Difference between HTML, XHTML & HTML5 for Beginners
 
INTRODUCTION TO HTML
INTRODUCTION TO HTMLINTRODUCTION TO HTML
INTRODUCTION TO HTML
 
Web Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and TechnologiesWeb Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and Technologies
 
Basic html
Basic htmlBasic html
Basic html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 

Ähnlich wie Html

HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HYPER TEXT MARKUP LANGUAGE BASIC LESSONSHYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
divyajohnisg
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
myrajendra
 
introdution-to-html.pptx
introdution-to-html.pptxintrodution-to-html.pptx
introdution-to-html.pptx
datapro2
 

Ähnlich wie Html (20)

uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Html
HtmlHtml
Html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HYPER TEXT MARKUP LANGUAGE BASIC LESSONSHYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
1. html introduction
1. html introduction1. html introduction
1. html introduction
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Module 1
Module 1Module 1
Module 1
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
introdution-to-html.pptx
introdution-to-html.pptxintrodution-to-html.pptx
introdution-to-html.pptx
 
HTML element is everything between the start tag and the end tag
HTML element is everything between the start tag and the end tagHTML element is everything between the start tag and the end tag
HTML element is everything between the start tag and the end tag
 
Introduction to PHP - Slide 1
Introduction to PHP - Slide 1 Introduction to PHP - Slide 1
Introduction to PHP - Slide 1
 
HTML 5 Tutorial
HTML 5 TutorialHTML 5 Tutorial
HTML 5 Tutorial
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
summary html.ppt
summary html.pptsummary html.ppt
summary html.ppt
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
HTML is a markup language used by the browser to manipulate text, images, and...
HTML is a markup language used by the browser to manipulate text, images, and...HTML is a markup language used by the browser to manipulate text, images, and...
HTML is a markup language used by the browser to manipulate text, images, and...
 

Mehr von Abhishek Kesharwani

Mehr von Abhishek Kesharwani (20)

uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
Unit 1 web technology uptu slide
Unit 1 web technology uptu slideUnit 1 web technology uptu slide
Unit 1 web technology uptu slide
 
Unit1 Web Technology UPTU UNIT 1
Unit1 Web Technology UPTU UNIT 1 Unit1 Web Technology UPTU UNIT 1
Unit1 Web Technology UPTU UNIT 1
 
Unit1 2
Unit1 2 Unit1 2
Unit1 2
 
Web Technology UPTU UNIT 1
Web Technology UPTU UNIT 1 Web Technology UPTU UNIT 1
Web Technology UPTU UNIT 1
 
Mtech syllabus computer science uptu
Mtech syllabus computer science uptu Mtech syllabus computer science uptu
Mtech syllabus computer science uptu
 
Wi max tutorial
Wi max tutorialWi max tutorial
Wi max tutorial
 
Virtual lan
Virtual lanVirtual lan
Virtual lan
 
Virtual lan
Virtual lanVirtual lan
Virtual lan
 
Tcp traffic control and red ecn
Tcp traffic control and red ecnTcp traffic control and red ecn
Tcp traffic control and red ecn
 
Schedulling
SchedullingSchedulling
Schedulling
 

Html

  • 1. History of HTML HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages. HTML was created by Berners-Lee in late 1991 but "HTML 2.0" was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. Though HTML 4.01 version is widely used but currently we are having HTML-5 version which is an extension to HTML 4.01, and this version was published in 2012
  • 3. What is HTML? • HTML stands for Hyper Text Markup Language • HTML is a markup language • A markup language is a set of markup tags • The tags describe document content • HTML documents contain HTML tags and plain text • HTML documents are also called web pages
  • 4. • Hypertext refers to the way in which Web pages (HTML documents) are linked together. Thus the link available on a webpage are called Hypertext. • As its name suggests, HTML is a Markup Language which means you use HTML to simply "mark up" a text document with tags that tell a Web browser how to structure it to display.
  • 5. • Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers. • Now, HTML is being widely used to format web pages with the help of different tags available in HTML language.
  • 7. <!DOCTYPE html> <html> <head> Document header related tags </head> <body> Document body related tags </body> </html>
  • 8. The <!DOCTYPE> Declaration The <!DOCTYPE> declaration helps the browser to display a web page correctly. There are many different documents on the web, and a browser can only display an HTML page 100% correctly if it knows the HTML type and version used. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">
  • 9. • The DOCTYPE declaration defines the document type. The <!DOCTYPE> declaration helps the browser to display a web page correctly. • The <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. Current version of HTML is 5 and it makes use of the following declaration: <!DOCTYPE html> • There are many other declaration types which can be used in HTML document depending on what version of HTML is being used.
  • 10. • The text between <html> and </html> describes the web page. • The text between <head> tag represents the document's header which can keep other HTML tags like <title>, <link> etc. • The text between <body> and </body> is the visible page content • The text between <h1> and </h1> is displayed as a heading • The text between <p> and </p> is displayed as a paragraph
  • 11. HTML Attributes • HTML elements can have attributes • Attributes provide additional information about an element • Attributes are always specified in the start tag • Attributes come in name/value pairs like: name="value"
  • 13. HTML Headings • Any document starts with a heading. You can use different sizes for your headings. HTML also has six levels of headings, which use the elements<h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. While displaying any heading, browser adds one line before and one line after that heading. • <h1> defines the most important heading. <h6> defines the least important heading. <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>
  • 14. HTML Lines • Horizontal lines are used to visually break up sections of a document. The <hr> tag creates a line from the current position in the document to the right margin and breaks the line accordingly. • The <hr>tag creates a horizontal line in an HTML page. • The hr element can be used to separate content.
  • 15. Centering Content • You can use <center> tag to put any content in the center of the page or any table cell. <!DOCTYPE html> <html> <head> <title>Centring Content Example</title> </head> <body> <p>This text is not in the center.</p> <center> <p>This text is in the center.</p> </center> </body> </html>
  • 16. HTML Paragraphs • HTML documents are divided into paragraphs. • The <p> tag offers a way to structure your text into different paragraphs. Each paragraph of text should go in between an opening <p> and a closing </p> tag as shown below in the example: <p>This is a paragraph</p> <p>This is another paragraph</p>
  • 17. HTML Line Breaks • Use the <br> tag if you want a line break (a new line) without starting a new paragraph. • Whenever you use the <br /> element, anything following it starts from the next line. This tag is an example of an empty element, where you do not need opening and closing tags, as there is nothing to go in between them. • The <br /> tag has a space between the characters br and the forward slash. If you omit this space, older browsers will have trouble rendering the line break, while if you miss the forward slash character and just use <br> it is not valid in XHTML.