SlideShare a Scribd company logo
HTML & HTML5
It’s time to upgrade skills
HTML History
HTML first version came in the market in 1990 because of Tem-Berner’s lee
efforts.
HTML stands for Hypertext Markup Language.
It was started with version 1.0 in the year 1990 and now we are using HTML5
which was released in the year 2014.
Html is not the programming language but it is a markup language which
understands all the browser and used for front end design .
Every browser understands html.
Hope we will see new upgrade in the html version but still most of the features of
HTML5 are in draft .
DOCTYPE
A Doctype is a SGML document type declaration. We keep this to parse the
document correctly.
There were three different types of doctype in the html .
1. Strict Doctype
2. Transitional Doctype
3. Frameset Doctype
So when we start the html markup we have to declare the document type
whether it is of which type in above three types.
But in HTML5 we need not to mention the type of the document in the head
DOCTYPE HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<!DOCTYPE HTML>
Character Encoding
Once we declare the document type then we need to declare the character set in
the head section of the html .
ASCII was the first character encoding which defined 128 alpha numeric
characters.
When we write the html code we will use any type of characters that will support
by ASCII.
Some of the special characters codes which are called HTML entity codes likes
&raquo, &laquo, &amp, &copy etc.
Global Structure HTML 4.0 Document
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h1> welcome to the web page</h1>
</body>
</html>
Global Structure HTML 5 Document
<!DOCTYPE HTML">
<html>
<head>
<meta charset=UTF-8">
<title>Welcome to the session HTML</title>
</head>
<body>
<h1> welcome to the webpage</h1>
</body>
</html>
What is HTML5 ?
● Html 5 is the latest and most enhanced version of html .
● Html5 is the combination of xhtml and html4.
● Html5 has new API
● Html5 has new Semantic Elements or we can call structural
elements.
● Html5 has new form elements.
● Html5 has new form attributes.
● Html5 has new graphic elements.
HTML5 New Structural or Semantic Elements
Semantic we call because it clearly represent the particular section in the webpage.
Non semantic which never express any meaning like span tag.
<header>, <nav>, <section>, <article>, <figure>, <figcaption> <aside>, <footer> .
It supports all the modern browsers.
Unrecognized elements in older browsers treat as inline element so we should
teach to the older browsers to treat as block level element.
To work perfectly the Html5 elements you can include the javscript file reference of
HTMLSHIV in head section.
HTML5 New Form Input Types and Attributes
Now we have good input elements in the Html5 version and those really reduce the
burden on designers and developers.
All Modern browsers are supporting the input types .
Color, range, number, search, date, month, tel, progress, url etc.
Attributes:
Autocomplet, autofocus, required, formmethod, formenctype, min, max,
multiple,placeholder, readonly etc.
There are lot many attributes and input types are there but i list down some
popular in Html.
HTML5 New Graphic & Multimedia Elements
Now we have audio and video elements in the Html5.
There are graphic elements as well like canvas, SVG.
Html5 is supporting the google maps as well for displaying the map into the
webpage with the help of refernce script which is located into the google. We just
need to creat the object and we have to pass the keys and values of map options.
Before the video tag people were using the reference of youtube and anyother social
video websites to display the video into the webpage.
But now we can directly implement using simple properties in the elements like src
of the file, type, autoplay etc.
It’s time to create web page any questions?

More Related Content

PPTX
Hypertext markup language (html)
PPTX
1 introduction to html
PPTX
HTML (Hyper Text Markup Language)
PPTX
HTML (Hyper Text Markup Language)
PPTX
1 introductin to HTML
PPTX
What are new added in HTML5?
PPTX
Introduction to basic HTML [Librarian edition]
PDF
Michael(tm) Smith: HTML5 at Web Directions South 2008
Hypertext markup language (html)
1 introduction to html
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
1 introductin to HTML
What are new added in HTML5?
Introduction to basic HTML [Librarian edition]
Michael(tm) Smith: HTML5 at Web Directions South 2008

What's hot (18)

PDF
Html tutorials-infotech aus
PPTX
Delhi student's day
PPTX
What is html
PPTX
PHP Training in Chandigarh
PPTX
What is html
PPTX
What is html and how it uses/
PPT
PPTX
Complete HTML5 Training in Urdu/Hindi
PPTX
HTML- Hyper Text Markup Language
PPTX
Chapter 2 introduction to html5
PPTX
Html 5 Features And Benefits
PPT
Dynamic html (#1)
PPTX
Html lecture1
PPTX
The Difference between HTML, XHTML & HTML5 for Beginners
PPTX
HTML - 5 - Introduction
PPT
Web design
PPTX
HTML 5: Syntax
Html tutorials-infotech aus
Delhi student's day
What is html
PHP Training in Chandigarh
What is html
What is html and how it uses/
Complete HTML5 Training in Urdu/Hindi
HTML- Hyper Text Markup Language
Chapter 2 introduction to html5
Html 5 Features And Benefits
Dynamic html (#1)
Html lecture1
The Difference between HTML, XHTML & HTML5 for Beginners
HTML - 5 - Introduction
Web design
HTML 5: Syntax
Ad

Similar to Learn HTML and HTML5 (20)

PPT
1._Introduction_tyytggyyyyy666o_HTML5.ppt
PPT
1._Introduction_to_HTML5 powerpoint presentation
PPT
HTML_new_one is a ppt in markup language
PPT
1._Introduction_to_HTML5 les fonction et les balises
PPT
1._Introduction_to_HTML5 Web Designing.ppt
PPT
Introduction to html55
PPT
Introduction to html5
PPT
1. Introduction to HTML5.ppt
PPT
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
PPT
Introduction to HTML5
PPT
1. introduction to html5
PPTX
PPT
Html5 tags
PDF
html5 _ Fundamentals a Basic Concepts of Understanding HTML.pdf
PPT
HTML5_3.ppt
PPT
HTML 5 Complete Reference
PPTX
Html5
PPT
PPT
Html5
PPT
1._Introduction_tyytggyyyyy666o_HTML5.ppt
1._Introduction_to_HTML5 powerpoint presentation
HTML_new_one is a ppt in markup language
1._Introduction_to_HTML5 les fonction et les balises
1._Introduction_to_HTML5 Web Designing.ppt
Introduction to html55
Introduction to html5
1. Introduction to HTML5.ppt
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
Introduction to HTML5
1. introduction to html5
Html5 tags
html5 _ Fundamentals a Basic Concepts of Understanding HTML.pdf
HTML5_3.ppt
HTML 5 Complete Reference
Html5
Html5
Ad

Recently uploaded (20)

PDF
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
PDF
Urban Design Final Project-Context
PPTX
Special finishes, classification and types, explanation
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PDF
Phone away, tabs closed: No multitasking
PDF
Wio LTE JP Version v1.3b- 4G, Cat.1, Espruino Compatible\202001935, PCBA;Wio ...
PDF
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
PPTX
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
PPTX
Implications Existing phase plan and its feasibility.pptx
PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PDF
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
PDF
Quality Control Management for RMG, Level- 4, Certificate
PPT
pump pump is a mechanism that is used to transfer a liquid from one place to ...
PPT
unit 1 ppt.ppthhhhhhhhhhhhhhhhhhhhhhhhhh
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
PPTX
artificialintelligencedata driven analytics23.pptx
PDF
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
DOCX
The story of the first moon landing.docx
PPTX
areprosthodontics and orthodonticsa text.pptx
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
Urban Design Final Project-Context
Special finishes, classification and types, explanation
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
Phone away, tabs closed: No multitasking
Wio LTE JP Version v1.3b- 4G, Cat.1, Espruino Compatible\202001935, PCBA;Wio ...
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
Implications Existing phase plan and its feasibility.pptx
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
Quality Control Management for RMG, Level- 4, Certificate
pump pump is a mechanism that is used to transfer a liquid from one place to ...
unit 1 ppt.ppthhhhhhhhhhhhhhhhhhhhhhhhhh
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
YV PROFILE PROJECTS PROFILE PRES. DESIGN
artificialintelligencedata driven analytics23.pptx
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
The story of the first moon landing.docx
areprosthodontics and orthodonticsa text.pptx

Learn HTML and HTML5

  • 1. HTML & HTML5 It’s time to upgrade skills
  • 2. HTML History HTML first version came in the market in 1990 because of Tem-Berner’s lee efforts. HTML stands for Hypertext Markup Language. It was started with version 1.0 in the year 1990 and now we are using HTML5 which was released in the year 2014. Html is not the programming language but it is a markup language which understands all the browser and used for front end design . Every browser understands html. Hope we will see new upgrade in the html version but still most of the features of HTML5 are in draft .
  • 3. DOCTYPE A Doctype is a SGML document type declaration. We keep this to parse the document correctly. There were three different types of doctype in the html . 1. Strict Doctype 2. Transitional Doctype 3. Frameset Doctype So when we start the html markup we have to declare the document type whether it is of which type in above three types. But in HTML5 we need not to mention the type of the document in the head
  • 4. DOCTYPE HTML <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">; <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!DOCTYPE HTML>
  • 5. Character Encoding Once we declare the document type then we need to declare the character set in the head section of the html . ASCII was the first character encoding which defined 128 alpha numeric characters. When we write the html code we will use any type of characters that will support by ASCII. Some of the special characters codes which are called HTML entity codes likes &raquo, &laquo, &amp, &copy etc.
  • 6. Global Structure HTML 4.0 Document <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <h1> welcome to the web page</h1> </body> </html>
  • 7. Global Structure HTML 5 Document <!DOCTYPE HTML"> <html> <head> <meta charset=UTF-8"> <title>Welcome to the session HTML</title> </head> <body> <h1> welcome to the webpage</h1> </body> </html>
  • 8. What is HTML5 ? ● Html 5 is the latest and most enhanced version of html . ● Html5 is the combination of xhtml and html4. ● Html5 has new API ● Html5 has new Semantic Elements or we can call structural elements. ● Html5 has new form elements. ● Html5 has new form attributes. ● Html5 has new graphic elements.
  • 9. HTML5 New Structural or Semantic Elements Semantic we call because it clearly represent the particular section in the webpage. Non semantic which never express any meaning like span tag. <header>, <nav>, <section>, <article>, <figure>, <figcaption> <aside>, <footer> . It supports all the modern browsers. Unrecognized elements in older browsers treat as inline element so we should teach to the older browsers to treat as block level element. To work perfectly the Html5 elements you can include the javscript file reference of HTMLSHIV in head section.
  • 10. HTML5 New Form Input Types and Attributes Now we have good input elements in the Html5 version and those really reduce the burden on designers and developers. All Modern browsers are supporting the input types . Color, range, number, search, date, month, tel, progress, url etc. Attributes: Autocomplet, autofocus, required, formmethod, formenctype, min, max, multiple,placeholder, readonly etc. There are lot many attributes and input types are there but i list down some popular in Html.
  • 11. HTML5 New Graphic & Multimedia Elements Now we have audio and video elements in the Html5. There are graphic elements as well like canvas, SVG. Html5 is supporting the google maps as well for displaying the map into the webpage with the help of refernce script which is located into the google. We just need to creat the object and we have to pass the keys and values of map options. Before the video tag people were using the reference of youtube and anyother social video websites to display the video into the webpage. But now we can directly implement using simple properties in the elements like src of the file, type, autoplay etc.
  • 12. It’s time to create web page any questions?