The document provides an introduction to HTML5, including its history, new structural elements like <header>, <nav>, <footer>, and <article>, redefined elements like <cite> and <ol>, and new features like geolocation, web forms, audio/video, and drag and drop. It discusses these topics over multiple pages with headings and subheadings.
HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since then. HTML5 is still a work in progress. However, most modern browsers have some HTML5 support.
HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).
WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since then. HTML5 is still a work in progress. However, most modern browsers have some HTML5 support.
HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).
WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
Presentation at web2day in Nantes, France about the opportunities we have with HTML5 and how it means we move away from a static to an web of applications.
HTML5 Tutorial For Beginners - Learning HTML 5 in simple and easy steps with examples covering 2D Canvas, Audio, Video, New Semantic Elements, Geolocation, Persistent Local Storage, Web Storage, Forms Elements,Application Cache,Inline SVG,Document
This presentation is an introduction to the new features of
HTML5. The main elements of this document are:
* Brief history of HTML5
*The improvements
* Browser support
* Semantic elements
* Content Editable on pages
* Video Tag
* Canvas tag
* Local storage
* Geolocation API
* Offline applications
* Microdata
* Use cases
HTML5 is a language for structuring and presenting content for the World Wide Web. it is the fifth revision of the HTML standard (created in 1990 and standardized as HTML4 as of 1997) and as of February 2012 is still under development. Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). It improves interoperability and reduces development costs by making precise rules on how to handle all HTML elements, and how to recover from errors
Vskills certified CSS designer Notes covers the following concepts.
1 CSS Basics
1.1 Introduction
1.2 Why to use CSS
1.3 CSS Editors
1.4 A CSS Example
1.5 Custom CSS
1.6 Cross Browser Testing
1.7 Including CSS
1.8 Validating CSS
Get complete e-book on CSS.
http://www.vskills.in/certification/Web-Development/certified-css-designer
This 20-minute presentation provides an introduction to several HTML5 semantic tags: article, section, aside, header, footer, nav. Includes how you can address browser compatibility issues.
HTML5 introduces a number of new elements and attributes that helps in building a modern websites. This presentation explains new great features introduced in HTML5.
This is a brief introduction about HTML5. You will learn that what is new in HTML5. I will tell what and when changes happened in HTML which Hyper Text markup language. Html is a language which is used to create web pages that we have seen on the internet. For website development and web hosting visit https://tekfold.com
HTML5 is all the rage with the cool kids, and although there's a lot of focus on the new language, there's lots of interesting new JavaScript APIs both in the HTML5 spec and separated out. This presentation will take you through demos and code behind the new JavaScript APIs, and explore where these features can be used
Presentation at web2day in Nantes, France about the opportunities we have with HTML5 and how it means we move away from a static to an web of applications.
HTML5 Tutorial For Beginners - Learning HTML 5 in simple and easy steps with examples covering 2D Canvas, Audio, Video, New Semantic Elements, Geolocation, Persistent Local Storage, Web Storage, Forms Elements,Application Cache,Inline SVG,Document
This presentation is an introduction to the new features of
HTML5. The main elements of this document are:
* Brief history of HTML5
*The improvements
* Browser support
* Semantic elements
* Content Editable on pages
* Video Tag
* Canvas tag
* Local storage
* Geolocation API
* Offline applications
* Microdata
* Use cases
HTML5 is a language for structuring and presenting content for the World Wide Web. it is the fifth revision of the HTML standard (created in 1990 and standardized as HTML4 as of 1997) and as of February 2012 is still under development. Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). It improves interoperability and reduces development costs by making precise rules on how to handle all HTML elements, and how to recover from errors
Vskills certified CSS designer Notes covers the following concepts.
1 CSS Basics
1.1 Introduction
1.2 Why to use CSS
1.3 CSS Editors
1.4 A CSS Example
1.5 Custom CSS
1.6 Cross Browser Testing
1.7 Including CSS
1.8 Validating CSS
Get complete e-book on CSS.
http://www.vskills.in/certification/Web-Development/certified-css-designer
This 20-minute presentation provides an introduction to several HTML5 semantic tags: article, section, aside, header, footer, nav. Includes how you can address browser compatibility issues.
HTML5 introduces a number of new elements and attributes that helps in building a modern websites. This presentation explains new great features introduced in HTML5.
This is a brief introduction about HTML5. You will learn that what is new in HTML5. I will tell what and when changes happened in HTML which Hyper Text markup language. Html is a language which is used to create web pages that we have seen on the internet. For website development and web hosting visit https://tekfold.com
HTML5 is all the rage with the cool kids, and although there's a lot of focus on the new language, there's lots of interesting new JavaScript APIs both in the HTML5 spec and separated out. This presentation will take you through demos and code behind the new JavaScript APIs, and explore where these features can be used
Web Development with HTML5, CSS3 & JavaScriptEdureka!
With the commercialization of the web, web development has become one of the blooming industries. Learning web development enables you to create attractive websites using HTML, CSS, JQuery and JavaScript. Web development includes developing simple and complex web-based applications, electronic businesses and social networking sites. Being a web developer you can deliver applications as web services which is only available in desktop applications.
JavaScript is lingua franca of the Web. It's pervasive and since 1999 a standard ( ECMAScript 262). Yes, there are other technologies you can use: Flash, Java Applets, Dart, but none of these have the overwhelming support and community that JavaScript does. Over the years it has been maligned as a poorly designed language but I will argue that it has just been misunderstood. This talk will focus on the fundamentals of the language and its integration with the browser, the DOM and server communication via JSON and Ajax.
In the talk Bryan will present:
* Language fundamentals
* Object-Oriented programming
* Functional programming
* DOM APIs
* Event model
* Odds and ends
JavaScript - An Introduction is a beginner's guide to JavaScript. It starts with very basic level and goes to intermediate level. You'll be introduced with every language constructs, Event handling, Form handling and AJAX which is supported by JavaScript with XMLHttpRequest object. This XHR object is discussed in enough detail so that you can understand how the underlying AJAX functionality works in jQuery. At the end it discusses advance concepts and library build on/around JavaScript.
Contains description regarding major semantic elements <article><aside><nav><section>
HTML expands to Hyper Text Markup Language. It is NOT a styling language, you have CSS for that purpose. So stop abusing the existence of HTML.
1. Usman Saleem | Web Technology Group | i2c Inc. | 2012
HTML 5
Introduction | Features | Demo
Tuesday, February 7, 12
2. TABLE OF CONTENTS
• History
• HTML5 New Structure Syntax and Semantics
• Geolocation in Depth
• Web Forms 2.0
• Audio and Video
• Drag and Drop
• Local Storage and Offline Applications
Tuesday, February 7, 12
3. WHAT IS HTML 5 ?
• HTML 5 is not a reformulation of previous languages but
backward compatible with HTML4 and XHTML 1.1
• Redefinition of existing markup <elements/> and new
elements; adding more expression related to semantics
• HTML5 is a framework ; wraps new technologies and API(s)
e.g. Audio/Video , GeoLocation, Canvas, WebSockets etc.
Tuesday, February 7, 12
4. W3C vs WHATWG
W3C Specifications
WHATWG Specifications
HISTORY
Tuesday, February 7, 12
5. HTML 5 HISTORY
HTML 4.0 + Strict Rules = XHTML 1.0
WHATWG - Web Hypertext Application Technology Working Group
Tuesday, February 7, 12
7. Doctype for HTML Public Standard Using HTML 4 version; written in English
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd|transitional|strict.dtd">
changed to The link points to the file which defines the standard
<!DOCTYPE HTML >
<meta http-equiv=
“Content-Type content=text/html; charset=UTF-8”>
<meta charset=utf-8 />
<META CHARSET=UTF-8 />
<meta charset=utf-8 />
changed to
<meta charset=utf-8>
<meta charset=”utf-8” />
<MeTa CHARset=utF-8>
Tuesday, February 7, 12
8. HTML 5 BASIC MARKUP
<!doctype html> Optional
<html lang=en>
Optional
<head> No Closing tag ; no double quotes surrounding attribute
<meta charset=utf-8>
<title>Web Technology Group - Presentations</title>
</head>
Optional
<body>
<p>
Today it was about revolutionary presentational technology HTML 5 future of web
No Closing tag; </p>
</body>
</html>
- HTML5 is no more XML Language
Tuesday, February 7, 12
9. HTML 5 NEW STRUCTURAL ELEMENTS
Tuesday, February 7, 12
10. <HEADER>
“The header element represents a group of introductory or navigational aids ... Note: A header element is
intended to usually contain the section’s heading (an h1–h6 element or an hgroup element), but this is not
required. The header element can also be used to wrap a section’s table of contents, a search form, or any
relevant logos”
<header>
<hgroup>
<h1>i2c Inc. </h1> Group of headings
<h2>Conceive, Configure, Commit</h2>
</hgroup>
<nav>
<ul> Header Navigation
<li>Home</li>
<li><a href=”products.html”>Our Services</a></li>
<li><a href=”contact.html”>Contact Us</a></li>
</ul>
</nav>
</header>
Tuesday, February 7, 12
11. <NAV>
“The <nav> element is designed to mark up navigation. Navigation is defined as being links around a page
(so, for example, a table of contents at the top of an article that links to anchor points on the same page)
or within a site”
<nav>
Unordered List
<ul>
<li>Home</li>
<li><a href=”products.html”>Our Services</a></li>
<li><a href=”contact.html”>Contact Us</a></li>
</ul>
</nav>
<nav>
<p><a href=”#”>.. </a></p> Paragraphs List
<p><a href=”#”>.. </a></p>
</nav>
<nav>
<h2>Recent News</h2> Heading for List
<ul>...</ul>
</nav>
Tuesday, February 7, 12
13. <ARTICLE>
“The article element represents a component of a page that consists of a self-contained composition in a
document, page, application, or site and that is intended to be independently distributable or reusable, e.g. ,
in syndication”
A blog post, a tutorial, a news story, comic strip, or a video with its transcript all fi t perfectly into this definition.
<article>
<header>
<h1> Listen to HTML 5 Intro. <time datetime=2011-12-12>1 December</time></h1>
<p>Published on <time datetime=2011-12-8>08 December 2011</time></p>
</header>
<p> I am going to talk about HTML5 a brief history and new wrapped technologies and APIs
within (Venue: Conference Room)
</p>
<footer> From Usman Saleem </footer>
</article>
Tuesday, February 7, 12
18. <CITE>
A person’s name is not the title of a work— even if people call that person a piece of work— and the
element must therefore not be used to mark up people’s names. Now it must be used for title of work
done by person.
In HTML4; <CITE>Amir Wain</CITE> once said, Change is constant.
<OL>
In HTML 4, the start attribute on <ol> was deprecated, as it was deemed presentational. Luckily, HTML5
reverts this wrong decision. If you want an ordered list to start at five rather than line one, use
<ol start=”five” reversed=”true”>...</ol>
<ADDRESS>
Element is for contact details of the author of the current <article> or document, not as a generic element
for postal addresses
<EM>,<I>, <STRONG>,<B>
<em> emphasizes and changes the meaning of sentence. <i> is represents the mood of voice. <strong>
adds extra importance to the sentence. <b> adds stylistic value.
<SMALL>
It typically features disclaimers, caveats, legal restrictions, or copyrights.
Tuesday, February 7, 12
19. REMOVED ELEMENTS
The following element are completely obsolete in HTML5, such as <applet> (use <embed> instead),
<big>, <blink>, <center>, <font>, and <marquee>. They will not validate and must not be used by
authors.
GLOBAL ATTRIBUTES
“The hidden attribute must not be used to hide content that could legitimately be shown in another
presentation. For example, it is incorrect to use hidden to hide panels in a tabbed dialog, because the
tabbed interface is merely a kind of overflow presentation—one could equally well just show all the form
controls in one big page with a scrollbar. It is similarly incorrect to use this attribute to hide content just
from one presentation— if something is marked hidden, it is hidden from all presentations, including, for
instance, screen readers.”
<div id=”secondTab” hidden=”hidden”>
Using a negative integer (by convention, tabindex=”-1”) allows the element to be focused
programmatically, but should not allow the element to be reached using sequential focus navigation.
Tuesday, February 7, 12
21. GEOLOCATION API
• Not a part of HTML 5 specification.
• Created by W3C, not WHATWG. API METHODS
• getCurrentPosition(...)
• Invokes asynchronously
• watchPosition(...)
• Uses GPS, IP Address, WiFi to locate
• clearWatch(...)
• Asks for Permission from user
Error: Code
watchPosition
navigator.geolocation.getCurrentPosition(successHandler, errorHandler, options)
MaximumAge: 0
Position: Coords Timeout
Lat | Long | Accuracy
Tuesday, February 7, 12
22. HTML 5 TEST SCORES
www.html5test.com
Tuesday, February 7, 12
23. Dec 2011 HTML5 Support
342
Tuesday, February 7, 12
24. Dec 2011 HTML5 Support
342
Chrome 15.x
Opera 11.x
Mozilla Firefox 8
Apple Safari 5.x
Internet Explorer 9
Firefox Mobile
i0S5
Android 2.3
Android 4.0
Opera Mobile
0 100 200 300 400
Tuesday, February 7, 12
27. NEW FORM AND ELEMENT ATTRIBUTES
Name Description
autofocus Specifies a element in form which should receive focus on page load
autocomplete Indicate that this element’s value must be remembered for future
pattern Input must match specified regular expression
placeholder Example text that appears in textbox until the user types
novalidate , Used on form - indicates that the browser should not validate the form
formnovalidate
required Indicates that the field value is mandatory
TEXT SELECTION API
Method Description
select() Existing method for selecting all text in input control
selectionStart Property that sets and gets the selection start point
selectionEnd Property that sets and gets the selection end point
setSelectionRange(Start,End) Method that sets the selection start and end point
Tuesday, February 7, 12
28. NEW INPUT TYPES
Name Description
search Indicates a input field used for searching for content
tel Indicates a input field used for containing telephone number
url Indicates a input field used for typing absolute URL Address
email Indicates a input field used for typing valid email address
number Indicates a field that accepts numeric values
range Indicates a input field used for specifying range of values
time Indicates a input field used for specifying time
date Indicates a field that contains date (day,month,year)
color Indicates a field that used to mention color value.
NEW CSS STYLES
Name Description
:valid Pseudo-class for styling form elements for valid state
:invalid Pseudo-class for styling form elements for invalid state
:required Pseudo-class for styling form elements that are required.
Tuesday, February 7, 12
32. HTML5 AUDIO AND VIDEO
• Going to be primary Audio/Video playback Why ?
• 2007, Opera developers created a video plugin • Future of Video/Audio playback
wrapped within image tag.
• Clean code; with fallback strategy
• Each browser has its own way of presenting • Player is built-in; performance optimized
<video/> element following standard
• iOS devices have no flash support
• Audio control built on same element; supporting
specific formats.
Tuesday, February 7, 12
35. DRAG AND DROP API
How to ?
• 1999, Microsoft added support in IE5
• Register to draggable events; at least 3
• DOM Event based API
• Mention the “dropzone”
• Inconsistent implementations by vendors • Apply to all links, text nodes and image
elements
• Drag elements to external applications e.g. other
browser window or Photoshop or a text editor
<img draggable=”true” />
Browser Support
ondragstart
ondrop
ondragover
<div>Drop Zone</div>
Tuesday, February 7, 12
37. HTML 5 STORAGE TYPES
Web Storage
• Local / Session storage also called Web/DOM
Storage.
• Improvement over cookies; like cookies they are
NOT sent to server. Limit varies from 5MB-10MB
• Local storage (like persistent cookie) is persistent;
Session storage (like session cookies) is transient.
• Common Interface; Supported by all browsers.
Web SQL Storage
• Fully relational SQL Interface to SQL Database
Engine.
• Uses embedded SQLLite database engine.
• No support for IE and Firefox.
Tuesday, February 7, 12
38. QCON 2011- PRESENTATIONS
• HTML 5 Design and Development Tooling
• Building Offline Access to Websites
• High Performance HTML 5
BOOKS
• HTML 5 Solutions [Essential Techniques for Developers]
• Introduction to HTML 5 [2nd Edition]
Tuesday, February 7, 12