SlideShare a Scribd company logo
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.

More Related Content

PPTX
HTML- Hyper Text Markup Language
PDF
Intro to HTML
PPTX
Introduction to HTML
PPT
PPT
Introduction to HTML
PPT
Creating WebPages using HTML
PPT
Html introduction
PPT
Hyper Text Mark-up Language
HTML- Hyper Text Markup Language
Intro to HTML
Introduction to HTML
Introduction to HTML
Creating WebPages using HTML
Html introduction
Hyper Text Mark-up Language

What's hot (20)

PPTX
HTML Introduction, HTML History, HTML Uses, HTML benifits
PPTX
Introduction to HTML
PPT
Dynamic html (#1)
PPTX
215077679 introduction to HTML
PPTX
How to create basic webpage
PPTX
HTML for Education
PPTX
Introduction to HTML
PDF
Lesson 1: Introduction to HTML
PPTX
PPTX
PPTX
Html training part1
PDF
Html grade 11
PPTX
Html vs xhtml
PPTX
Web Page Designing Using HTML
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
PPT
HTML_Slideshow1
PPTX
HTML (Hyper Text Markup Language)
PPTX
An introduction to html
PPTX
HTML Introduction, HTML History, HTML Uses, HTML benifits
Introduction to HTML
Dynamic html (#1)
215077679 introduction to HTML
How to create basic webpage
HTML for Education
Introduction to HTML
Lesson 1: Introduction to HTML
Html training part1
Html grade 11
Html vs xhtml
Web Page Designing Using HTML
What is HTML - An Introduction to HTML (Hypertext Markup Language)
HTML_Slideshow1
HTML (Hyper Text Markup Language)
An introduction to html
Ad

Viewers also liked (17)

PPTX
uptu web technology unit 2 html
DOCX
PDF
Routers and planes (1)
PDF
PPTX
uptu web technology unit 2 Css
PDF
Flow control 11
DOCX
PPTX
Unit 1 web technology uptu slide
PDF
Virtual lan
DOCX
Explicit congestion notification
PPTX
Java script
uptu web technology unit 2 html
Routers and planes (1)
uptu web technology unit 2 Css
Flow control 11
Unit 1 web technology uptu slide
Virtual lan
Explicit congestion notification
Java script
Ad

Similar to Html (20)

PDF
html.pdf
PPTX
Basic Html Knowledge for students
PPTX
PPTX
HTML.pptx
PPTX
HTML/HTML5
PPTX
HTML basic tags and description PPT slides
PPTX
How to learn HTML in 10 Days
PDF
Html tutorial
PPTX
Html (hypertext markup language)
PPT
Web forms and html (lect 1)
PDF
"Innovative Web Design & Development Hub
PPTX
Grade 10 COMPUTER
PPTX
001-Hyper-Text-Markup-Language-Lesson.pptx
PPTX
Week-1_PPT_WEBAPPS-done.pptx
PPTX
Html Concept
PPTX
HTML (Hyper Text Markup Language)
PDF
Html tutorial
KEY
Class1slides
PPTX
Web technologies-course 02.pptx
PPTX
Module-1-1 Hypertext markup Language .pptx
html.pdf
Basic Html Knowledge for students
HTML.pptx
HTML/HTML5
HTML basic tags and description PPT slides
How to learn HTML in 10 Days
Html tutorial
Html (hypertext markup language)
Web forms and html (lect 1)
"Innovative Web Design & Development Hub
Grade 10 COMPUTER
001-Hyper-Text-Markup-Language-Lesson.pptx
Week-1_PPT_WEBAPPS-done.pptx
Html Concept
HTML (Hyper Text Markup Language)
Html tutorial
Class1slides
Web technologies-course 02.pptx
Module-1-1 Hypertext markup Language .pptx

More from Abhishek Kesharwani (20)

PDF
Software Engineering unit 1 Notes AKTU ppt
PPTX
Software Engineering unit 1 Notes AKTU ppt
PPTX
uptu web technology unit 2 html
PPTX
uptu web technology unit 2 html
PPTX
uptu web technology unit 2 html
PPTX
uptu web technology unit 2 html
PPTX
uptu web technology unit 2 Css
PPT
uptu web technology unit 2 Xml2
PPT
uptu web technology unit 2 Xml2
PPT
uptu web technology unit 2 Xml2
PPT
uptu web technology unit 2 Xml2
PDF
Unit1 Web Technology UPTU UNIT 1
PPTX
PDF
Web Technology UPTU UNIT 1
DOCX
Mtech syllabus computer science uptu
PDF
Wi max tutorial
DOCX
Virtual lan
PPT
Tcp traffic control and red ecn
PDF
Schedulling
PDF
Software Engineering unit 1 Notes AKTU ppt
Software Engineering unit 1 Notes AKTU ppt
uptu web technology unit 2 html
uptu web technology unit 2 html
uptu web technology unit 2 html
uptu web technology unit 2 html
uptu web technology unit 2 Css
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Unit1 Web Technology UPTU UNIT 1
Web Technology UPTU UNIT 1
Mtech syllabus computer science uptu
Wi max tutorial
Virtual lan
Tcp traffic control and red ecn
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.