The document provides an overview of HTML5 and its new features, including sections on semantics, multimedia, 2D/3D drawing, real-time communication and CSS3. It highlights new HTML5 elements like <header>, <footer>, <video>, <audio>, input types and canvas. It also discusses JavaScript APIs, web sockets and browser support for HTML5.
16. <!-- HTML 4.01 / XHTML doctype and
meta -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01//EN" "http://www.w3.org/TR/
html4/strict.dtd">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
<meta http-equiv="content-language"
content="nl">
17. <!-- HTML5 doctype and meta -->
<!DOCTYPE html>
<html lang='nl'>
<head>
<meta charset='utf-8'>
33. <!-- HTML5 input elements -->
<input type="email" placeholder="Jouw E-
mail adres" >
<input type="search" autofocus>
34. <!-- HTML5 input elements -->
<input type="search"> for search boxes
<input type="number"> for spinboxes
<input type="range"> for sliders
<input type="color"> for color pickers
<input type="tel"> for telephone numbers
<input type="url"> for web addresses
<input type="email"> for email addresses
<input type="date"> for calendar date pickers
<input type="month"> for months
<input type="week"> for weeks
<input type="time"> for timestamps
<input type="datetime"> for precise, absolute date+time stamps
46. <!-- HTML5 new inline elements -->
<mark>
<time>
…
→ Semantic alternatives to spans in HTML 4.01
47. <!-- HTML5 new inline elements -->
<mark>
<time>
…
→ Semantic alternatives to spans in HTML 4.01
48. <!-- HTML5 interactive elements -->
<details>
<summary>Angelina Ballerina</summary>
<p>Tekenfilmreeks over een kleine muis die
graag prima ballerina wil worden.</p>
</details>
49. <!-- HTML5 interactive elements -->
<details open>
<summary>Angelina Ballerina</summary>
<p>Tekenfilmreeks over een kleine muis die
graag prima ballerina wil worden.</p>
</details>
52. ˜
HTML
1.Semantics
(New tags, Link Relations, Microdata)
2.Accessibility
(ARIA roles)
3.Web Forms 2.0
(Input Fields)
4.Multimedia
(Audio Tag, Video Tag)
5.2D and 3D Drawing
(Canvas, WebGL, SVG)
40
53. ˜
HTML
1.Semantics
(New tags, Link Relations, Microdata)
2.Accessibility
(ARIA roles)
3.Web Forms 2.0
(Input Fields)
4.Multimedia
(Audio Tag, Video Tag)
5.2D and 3D Drawing
(Canvas, WebGL, SVG)
41
54. ˜
JS api
1.Client Side Storage
(Web SQL Database, App Cache, Web Storage)
2.Realtime Communication
(Web Sockets, Worker Workers)
3.Richer Experiences
(Notifications, Drag and Drop API)
4.Geolocation
42
55. ˜
JS api
1.Client Side Storage
(Web SQL Database, App Cache, Web Storage)
2.Realtime Communication
(Web Sockets, Worker Workers)
3.Richer Experiences
(Notifications, Drag and Drop API)
4.Geolocation
43
56. ˜
CSS3
1.Typography
2.Visuals
3.Transitions, transforms and animations
44
57. ˜
CSS3
1.Typography
2.Visuals
3.Transitions, transforms and animations
45
70. canvas
• 2D and 3D drawing platform within the browser
• Uses nothing more than JavaScript and HTML – no plugins
• Created by Apple for dashboard widgets
• Now part of the W3C spec
78. canvas versus SVG
• Canvas is a bitmap system
• Everything is drawn as a single, flat, picture
• Changes require the whole picture to be redrawn
• SVG is a vector system
• Elements to be drawn are separate DOM objects. They can
be manipulated individually
• not a part of HTML5
80. web sockets
• Ajax - Timeout requests
• Comet - long polling
• Flash XMLSocket
• HTML5 web sockets
81. possible uses
• Realtime data - (charts, stocks, sports)
• Presence
• Collaboration
• Notifications
84. web sockets
• Part of html5
• Bi-directional communication between browser and server
• Works with proxies/firewalls
• low complexity, low latency
85. web sockets
• uses its own protocol (ws://)
• different headers
• Language support - libraries available for Ruby, Node.js,
Erlang, PHP, Java, Python, etc.
87. browser support
• Chrome and WebKit support now
• Firefox 4.0 (released yesterday)
• Internet Explorer (partial support in IE 9)
• Fallback to Long polling
t&#x2019;s just not true. The 2022 date is for two complete implementations, something that has still not happened for HTML 4, XHTML 1.0 or XHTML 1.1. The dates to worry about are 2012 for a completed draft, and October 2009 for a working draftAlso as stated above, browser makers are already implementing some of the new parts of HTML 5, and the rest is backwards compatible.\n
t&#x2019;s just not true. The 2022 date is for two complete implementations, something that has still not happened for HTML 4, XHTML 1.0 or XHTML 1.1. The dates to worry about are 2012 for a completed draft, and October 2009 for a working draftAlso as stated above, browser makers are already implementing some of the new parts of HTML 5, and the rest is backwards compatible.\n
\n
\n
\n
\n
\n
\n
HTML5 shiv makes new HTML5 elements stylable in IE for both screen and print media\n
HTML5 shiv makes new HTML5 elements stylable in IE for both screen and print media\n
HTML5 shiv makes new HTML5 elements stylable in IE for both screen and print media\n
HTML5 shiv makes new HTML5 elements stylable in IE for both screen and print media\n
HTML5 shiv makes new HTML5 elements stylable in IE for both screen and print media\n
Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation\n
Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation\n
Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation\n
Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation\n
Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
The actual contents are hidden by default. You can use the open attribute to override this\n
\n
\n
Long polling is a variation of the traditional polling technique and allows emulation of an information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client.\n
\n
\n
\n
\n
\n
\n
\n
Long polling is a variation of the traditional polling technique and allows emulation of an information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client.\n
\n
Long polling is a variation of the traditional polling technique and allows emulation of an information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client.\n
Long polling is a variation of the traditional polling technique and allows emulation of an information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client.\n
\n
\n
Long polling is a variation of the traditional polling technique and allows emulation of an information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client.\n
Long polling is a variation of the traditional polling technique and allows emulation of an information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client.\n
\n
Long polling is a variation of the traditional polling technique and allows emulation of an information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client.\n
\n
\n
\n
\n
\n
\n
\n
The actual contents are hidden by default. You can use the open attribute to override this\n