background preloader

Www.phpguru.org: HTML5 examples and demos

Www.phpguru.org: HTML5 examples and demos

Video for Everybody! Video for Everybody is simply a chunk of HTML code that embeds a video into a website using the HTML5 <video> element, falling back to Flash automatically without the use of JavaScript or browser-sniffing. It therefore works in RSS readers (no JavaScript), on the iPhone / iPad (don’t support Flash) and on many browsers and platforms. Thanks to the rapid adoption of HTML5 video happening right now, Video for Everybody isn’t the only solution around. It is not a neatly packaged, fully-featured solution for those unfamiliar with HTML. How It Works If your browser supports it, HTML5 video is used. If HTML5 video is not supported, Adobe Flash is used. Finally, if all else fails, a placeholder image is shown and the user can download the video using the links provided. VfE different than any other Flash video embedding method. This is all done without JavaScript and requires two video encodes, one Ogg file, and one MP4 file. The Code Here follows the full source code. IMPORTANT Notes Using Video

12 resources for getting a jump on HTML 5 Recently I’ve seen a considerable amount of press on blogs and such regarding HTML 5, “the 5th major revision of the core language of the World Wide Web” (W3C). I have virtually no experience (yet) with HTML 5, so as I jump on the bandwagon and begin familiarizing myself with it, I thought I’d share some of the resources I’m reading along the way. So far from what I’m learning, the consensus among several of these articles seems to be this: The world isn’t ready for HTML 5 at large just yet, but we can begin preparing for it by using common, semantic selector names (header, nav, section, etc.) — or even new attribute names — derived from HTML 5 within our HTML 4.01 or XHTML 1.x documents. This is by no means an exhaustive list, just a start. A Preview of HTML 5 by Lachlan Hunt. Got any other resources?

The HTML5 test - How well does your browser support HTML5? HTML 5 and CSS 3: The Techniques You’ll Soon Be Using - Nettuts+ In this tutorial, we are going to build a blog page using next-generation techniques from HTML 5 and CSS 3. The tutorial aims to demonstrate how we will be building websites when the specifications are finalized and the browser vendors have implemented them. If you already know HTML and CSS, it should be easy to follow along. Before we get started, consider using one of our HTML5 Templates or CSS Themes for your next project—that is, if you need a quick and professional solution. HTML 5 is the next major version of HTML. Before we begin marking up the page we should get the overall structure straight: In HTML 5 there are specific tags meant for marking up the header, navigation, sidebar and footer. It still looks like HTML markup, but there are a few things to note: In HTML 5, there is only one doctype. Instead of using divs to contain different sections of the page we are now using appropriate, semantic tags. We have already defined a new section in the document using the section tag.

CSS3 . Info - All you ever needed to know about CSS3 Dive Into HTML5 HTML5 Unleashed: Tips, Tricks and Techniques Can we use HTML5 today? What can we do with it? Is it really going to kill Flash? You must have noticed a gradual increase in the frequency of these and similar questions being asked, debated and even answered. In my opinion, you must answer such fundamental questions yourself. The whole purpose of this article is to help you get started with some basic guidelines and easy to follow code templates. HTML5 Features Official Specification Document is the best place to look for HTML5 features, but you can also start with simple and easy to follow HTML5 Tag Reference at W3Schools. Semantic MarkupForm EnhancementsAudio / VideoCanvasContentEditableDrag and DropPersistent Data Storage Check For Browser Support Before you start experimenting with HTML5, you need to know level of support available for it in major web browsers. You can also detect HTML5 feature support on the fly using JavaScript (Guide to Detecting HTML5 Features With JavaScript). Note Changes Sample Code: Semantic Markup Learn More:

How HTML5 will change the Web | Developer World Many folks who are just tuning into the HTML5 saga because of the battle between Adobe and Apple are surprised to learn that the push to create a fifth official version of the HTML specification began six years ago. And that's just the first half of the story because the latest implementations, while nice, are far from standards. The HTML5 demos from Apple, for instance, are impressive, but they only run well on Safari. That's how slowly committees can work. While the jokes may sting and waiting for more general adoption is tiresome, it would be a mistake to simply ignore HTML5. [ Also on InfoWorld: Despite HTML5, Web designers have good reasons to cling to Flash for rich Web content. HTML5 will change many aspects of life on the Web. To see where this new standard may take us, I collected the opinions from a number of developers, programmers, and designers.

HTML 5 Reference It is useful to make a distinction between the vocabulary of an HTML document—the elements and attributes, and their meanings—and the syntax in which it is written. HTML has a defined set of elements and attributes which can be used in a document; each designed for a specific purpose with their own meaning. Consider this set of elements to be analogous to the list of words in a dictionary. This includes elements for headings, paragraphs, lists, tables, links, form controls and many other features. The basic structure of elements in an HTML document is a tree structure. 3.1 Syntactic Overview There are two syntaxes that can be used: the traditional HTML syntax, and the XHTML syntax. The HTML syntax is loosely based upon the older, though very widely used syntax from HTML 4.01. <! XHTML, however, is based on the much more strict XML syntax. 3.2 The Syntax There are a number of basic components make up the syntax of HTML, that are used throughout any document. 3.2.1 DOCTYPE Declaration end tag

HTML5 A vocabulary and associated APIs for HTML and XHTML W3C Working Draft 4 March 2010 This Version: Latest Published Version: Latest Editor's Draft: Previous Versions: Editors: Ian Hickson, Google, Inc. David Hyatt, Apple, Inc. This specification is available in the following formats: single page HTML, multipage HTML. Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved. Abstract This specification defines the 5th major revision of the core language of the World Wide Web: the Hypertext Markup Language (HTML). Status of This document This section describes the status of this document at the time of its publication. E-mail notifications of changes Table of Contents

HTML5 HTML5 is a markup language used for structuring and presenting content for the World Wide Web and a core technology of the Internet. It is the fifth revision of the HTML standard (created in 1990 and standardized as HTML 4 as of 1997)[2] and, as of December 2012[update], is a candidate recommendation of the World Wide Web Consortium (W3C).[3] 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.). HTML5 is intended to subsume not only HTML 4, but also XHTML 1 and DOM Level 2 HTML.[2] History[edit] The Web Hypertext Application Technology Working Group (WHATWG) began work on the new standard in 2004. While HTML5 is often compared to Flash, the two technologies are very different. Standardization process[edit] 2008 – First Public Working Draft 2011 – Last Call 2012 – Candidate Recommendation Plan 2014[edit] Core HTML specification

HTML5 presentation

Related: