SlideShare a Scribd company logo
4
Most read
6
Most read
7
Most read
Introduction to
HTML5
History of HTML
HTML first
published
1991
2012
2002
-
2009
2000
HTML 2.0
HTML 3.2
HTML 4.01
XHTML 1.0
XHTML 2.0
HTML5
1995
1997
1999
HTML5 is much more tolerant and can
handle markup from all the prior versions. A
working draft was released in 2012 and it is
scheduled to be finalized by the end of
2014.
After HTML 4.01 was released, focus
shifted to XHTML and its stricter standards.
XHTML 2.0 had very strict standards but
was abandoned in 2009 in favor of HTML5.
2014 HTML5.1 HTML5.1 is currently under development
and expected to be finalized in late 2016.
What is HTML5?
 HTML5 is the newest version of HTML, only recently
gaining partial support by the makers of web browsers.
 It incorporates all features from earlier versions of HTML,
including the stricter XHTML.
 It adds a diverse set of new tools for the web developer
to use.
 It is still a work in progress. No browsers have full
HTML5 support. It will be many years – perhaps not
until 2018 or later - before being fully defined and
supported.
Goals of HTML5
 Support all existing web pages. With HTML5, there is no
requirement to go back and revise older websites.
 Reduce the need for external plugins and scripts to show
website content.
 Improve the semantic definition (i.e. meaning and
purpose) of page elements.
 Make the rendering of web content universal and
independent of the device being used.
 Handle web documents errors in a better and more
consistent fashion.
New Elements in HTML5
<figcaption>
<footer>
<header>
<hgroup>
<mark>
<nav>
<progress>
<section>
<source>
<svg>
<time>
<video>
These are just some of the new elements introduced in HTML5. We will be
exploring each of these during this course.
<article>
<aside>
<audio>
<canvas>
<datalist>
<figure>
Other New Features in HTML5
 Built-in audio and video support (without plugins)
 Enhanced form controls and attributes
 The Canvas (a way to draw directly on a web page)
 Drag and Drop functionality
 Support for CSS3 (the newer and more powerful version
of CSS)
 More advanced features for web developers, such as
data storage and offline applications.
First Look at HTML5
Remember the DOCTYPE declaration from XHTML?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
In HTML5, there is just one possible DOCTYPE declaration and it is simpler:
<!DOCTYPE html>
Just 15 characters!
The DOCTYPE tells the browser which type and version of document to
expect. This should be the last time the DOCTYPE is ever changed. From
now on, all future versions of HTML will use this same simplified declaration.
The <html> Element
This is what the <html> element looked like in XHTML:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Again, HTML5 simplifies this line:
<html lang="en">
Each of the world’s major languages has a two-character code, e.g. Spanish = "es",
French = "fr", German = "de", Chinese = "zh", Arabic = "ar".
The lang attribute in the <html> element declares which language the page
content is in. Though not strictly required, it should always be specified, as it
can assist search engines and screen readers.
The <head> Section
Here is a typical XHTML <head> section:
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>My First XHTML Page</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
And the HTML5 version:
Notice the simplified character set declaration, the shorter CSS stylesheet link
text, and the removal of the trailing slashes for these two lines.
<head>
<meta charset="utf-8">
<title>My First HTML5 Page</title>
<link rel="stylesheet" href="style.css">
</head>
Basic HTML5 Web Page
Putting the prior sections together, and now adding the <body> section and
closing tags, we have our first complete web page in HTML5:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My First HTML5 Page</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<p>HTML5 is fun!</p>
</body>
</html>
Let's open this page in a web browser to see how it looks…
Viewing the HTML5 Web Page
Even though we used HTML5, the page looks exactly the same in a web
browser as it would in XHTML. Without looking at the source code, web
visitors will not know which version of HTML the page is in.

More Related Content

PPT
1. Introduction to HTML5.ppt
PPT
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
PPT
Introduction to html5
PPT
Introduction to html55
PPT
Introduction to HTML5
PPT
1. introduction to html5
PPT
HTML 5 Complete Reference
PPTX
1. Introduction to HTML5.ppt
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
Introduction to html5
Introduction to html55
Introduction to HTML5
1. introduction to html5
HTML 5 Complete Reference

Similar to 1._Introduction_to_HTML5 powerpoint presentation (20)

PPTX
HTML5 and DHTML
PPTX
Delhi student's day
PDF
HTML5 Introduction – Features and Resources for HTML5
PPTX
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
PDF
html5 _ Fundamentals a Basic Concepts of Understanding HTML.pdf
PDF
Wa html5-pdf
PDF
Wa html5-pdf
PDF
Wa html5-pdf
PDF
Wa html5-pdf
PDF
Html5 deciphered - designing concepts part 1
PPTX
Html 5
PPTX
HTML5 introduction for beginners
PPTX
Html.pptx
PPTX
Why Embrace "Html5"?
PPTX
KEY
5 ways to embrace HTML5 today
PDF
Sitepoint.com a basic-html5_template
PPTX
HTML - 5 - Introduction
PPTX
Html 5 Features And Benefits
PPT
Is it time to start using HTML 5
HTML5 and DHTML
Delhi student's day
HTML5 Introduction – Features and Resources for HTML5
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
html5 _ Fundamentals a Basic Concepts of Understanding HTML.pdf
Wa html5-pdf
Wa html5-pdf
Wa html5-pdf
Wa html5-pdf
Html5 deciphered - designing concepts part 1
Html 5
HTML5 introduction for beginners
Html.pptx
Why Embrace "Html5"?
5 ways to embrace HTML5 today
Sitepoint.com a basic-html5_template
HTML - 5 - Introduction
Html 5 Features And Benefits
Is it time to start using HTML 5
Ad

More from JohnLagman3 (20)

PDF
8.-Javascript-report powerpoint presentation
PDF
7.-Bootstrap-5-report powerpoint presentation
PDF
bufferoverflow-151214121251 presentation
PPTX
Variables in MIT App Inventor powerpoint
PPTX
Web-Development Powerpoint Presentation.
PPTX
History of Android powerpoint presentation
PPTX
Mobile Application Development powerpoint
PPTX
Presentation of Hyper Text Markup Language
PDF
html-150424090224-conversion-gate0.2.pdf
PPT
Hypertext Mark Up Language Introduction.
PPT
Multiple_Linear_Regression Presentation.
PPTX
Lesson 4 - Introduction to Filmora.pptx
PDF
1.-Introduction-report.pdf
PDF
Lesson 1 Animation.pdf
PDF
Lesson 1.pdf
PPT
Confidentiality Privacy and Security.ppt
PDF
physicalsecurity-150317020111-conversion-gate01.pdf
PPTX
Introduction to BIOMETRICS Security.pptx
PPTX
1.-Introduction-report.pptx
PDF
ORIENTATION-CIS.pdf
8.-Javascript-report powerpoint presentation
7.-Bootstrap-5-report powerpoint presentation
bufferoverflow-151214121251 presentation
Variables in MIT App Inventor powerpoint
Web-Development Powerpoint Presentation.
History of Android powerpoint presentation
Mobile Application Development powerpoint
Presentation of Hyper Text Markup Language
html-150424090224-conversion-gate0.2.pdf
Hypertext Mark Up Language Introduction.
Multiple_Linear_Regression Presentation.
Lesson 4 - Introduction to Filmora.pptx
1.-Introduction-report.pdf
Lesson 1 Animation.pdf
Lesson 1.pdf
Confidentiality Privacy and Security.ppt
physicalsecurity-150317020111-conversion-gate01.pdf
Introduction to BIOMETRICS Security.pptx
1.-Introduction-report.pptx
ORIENTATION-CIS.pdf
Ad

Recently uploaded (20)

PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Institutional Correction lecture only . . .
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Classroom Observation Tools for Teachers
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
O7-L3 Supply Chain Operations - ICLT Program
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Final Presentation General Medicine 03-08-2024.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Basic Mud Logging Guide for educational purpose
Anesthesia in Laparoscopic Surgery in India
Complications of Minimal Access Surgery at WLH
Institutional Correction lecture only . . .
Microbial diseases, their pathogenesis and prophylaxis
O5-L3 Freight Transport Ops (International) V1.pdf
TR - Agricultural Crops Production NC III.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Classroom Observation Tools for Teachers
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
VCE English Exam - Section C Student Revision Booklet
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
STATICS OF THE RIGID BODIES Hibbelers.pdf

1._Introduction_to_HTML5 powerpoint presentation

  • 2. History of HTML HTML first published 1991 2012 2002 - 2009 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0 HTML5 1995 1997 1999 HTML5 is much more tolerant and can handle markup from all the prior versions. A working draft was released in 2012 and it is scheduled to be finalized by the end of 2014. After HTML 4.01 was released, focus shifted to XHTML and its stricter standards. XHTML 2.0 had very strict standards but was abandoned in 2009 in favor of HTML5. 2014 HTML5.1 HTML5.1 is currently under development and expected to be finalized in late 2016.
  • 3. What is HTML5?  HTML5 is the newest version of HTML, only recently gaining partial support by the makers of web browsers.  It incorporates all features from earlier versions of HTML, including the stricter XHTML.  It adds a diverse set of new tools for the web developer to use.  It is still a work in progress. No browsers have full HTML5 support. It will be many years – perhaps not until 2018 or later - before being fully defined and supported.
  • 4. Goals of HTML5  Support all existing web pages. With HTML5, there is no requirement to go back and revise older websites.  Reduce the need for external plugins and scripts to show website content.  Improve the semantic definition (i.e. meaning and purpose) of page elements.  Make the rendering of web content universal and independent of the device being used.  Handle web documents errors in a better and more consistent fashion.
  • 5. New Elements in HTML5 <figcaption> <footer> <header> <hgroup> <mark> <nav> <progress> <section> <source> <svg> <time> <video> These are just some of the new elements introduced in HTML5. We will be exploring each of these during this course. <article> <aside> <audio> <canvas> <datalist> <figure>
  • 6. Other New Features in HTML5  Built-in audio and video support (without plugins)  Enhanced form controls and attributes  The Canvas (a way to draw directly on a web page)  Drag and Drop functionality  Support for CSS3 (the newer and more powerful version of CSS)  More advanced features for web developers, such as data storage and offline applications.
  • 7. First Look at HTML5 Remember the DOCTYPE declaration from XHTML? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> In HTML5, there is just one possible DOCTYPE declaration and it is simpler: <!DOCTYPE html> Just 15 characters! The DOCTYPE tells the browser which type and version of document to expect. This should be the last time the DOCTYPE is ever changed. From now on, all future versions of HTML will use this same simplified declaration.
  • 8. The <html> Element This is what the <html> element looked like in XHTML: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Again, HTML5 simplifies this line: <html lang="en"> Each of the world’s major languages has a two-character code, e.g. Spanish = "es", French = "fr", German = "de", Chinese = "zh", Arabic = "ar". The lang attribute in the <html> element declares which language the page content is in. Though not strictly required, it should always be specified, as it can assist search engines and screen readers.
  • 9. The <head> Section Here is a typical XHTML <head> section: <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>My First XHTML Page</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> And the HTML5 version: Notice the simplified character set declaration, the shorter CSS stylesheet link text, and the removal of the trailing slashes for these two lines. <head> <meta charset="utf-8"> <title>My First HTML5 Page</title> <link rel="stylesheet" href="style.css"> </head>
  • 10. Basic HTML5 Web Page Putting the prior sections together, and now adding the <body> section and closing tags, we have our first complete web page in HTML5: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>My First HTML5 Page</title> <link rel="stylesheet" href="style.css"> </head> <body> <p>HTML5 is fun!</p> </body> </html> Let's open this page in a web browser to see how it looks…
  • 11. Viewing the HTML5 Web Page Even though we used HTML5, the page looks exactly the same in a web browser as it would in XHTML. Without looking at the source code, web visitors will not know which version of HTML the page is in.