HTML5/CSS3

Facebook Twitter

Tingle's Technology Notes. Image Wipes. Demo: Pure CSS folded-corner effect. Tantek Çelik: “HTML5: Right Here, Right Now” (56 min.) In one of the outstanding sessions of YUIConf 2010, author and standards expert Tantek Çelik, formerly of Technorati, discusses the current state of HTML5 specifications and their readiness for use in shipping web applications.

Tantek Çelik: “HTML5: Right Here, Right Now” (56 min.)

(Tantek also joined a special YUIConf panel discussion on the future of frontend engineering.) If the video embed below doesn’t show up correctly in your RSS reader of choice, be sure to click through to watch the high-resolution version of the video on YUI Theater. Other Recent YUI Theater Videos: About Validator.nu. 28 HTML5 Features, Tips, and Techniques you Must Know.

Twice a month, we revisit some of our readers’ favorite posts from throughout the history of Nettuts+.

28 HTML5 Features, Tips, and Techniques you Must Know

This tutorial was first published in August, 2010. This industry moves fast -- really fast! If you're not careful, you'll be left in its dust. So, if you're feeling a bit overwhelmed with the coming changes/updates in HTML5, use this as a primer of the things you must know. 1. Badass JavaScript - Has.js: UA Sniffing Is Dead. Long Live JavaScript Feature Detection!

Pete Higgins and a few other JS ninjas have been working on a new library for doing JavaScript feature detection.

Badass JavaScript - Has.js: UA Sniffing Is Dead. Long Live JavaScript Feature Detection!

Browser sniffing and feature inference are flawed techniques for detecting browser support in client side JavaScript. The goal of has.js is to provide a collection of self-contained tests and unified framework around using pure feature detection for whatever library consumes it. It is similar to Modernizr, but instead of testing for HTML5/CSS3 features, it tests for JavaScript features such as: VexFlow - HTML5 Music Engraving. HTML. Ordering CSS3 Properties. When writing CSS3 properties, the modern wisdom is to list the "real" property last and the vendor prefixes first: Why is this method of ordering properties so commonly taught?

Ordering CSS3 Properties

Here is what it would look like "the wrong way": Pusher - Realtime client push powered by HTML5 websockets, beyond AJAX. HTML 5 innerShiv. Start Using HTML5 WebSockets Today. One of the coolest new features of HTML5 is WebSockets, which let us talk to the server without using AJAX requests.

Start Using HTML5 WebSockets Today

In this tutorial, we'll review the process of running a WebSocket server in PHP, and then building a client to send and receive messages to it over the WebSocket protocol. What are WebSockets? WebSockets is a technique for two-way communication over one (TCP) socket, a type of PUSH technology. Periodic Table of the Elements - Josh Duck. 5lide: HTML5-based Slides Maker. At last week's GTUG campout, a 3-day long HTML5 hackathon, I signed up to be a TA for the weekend.

5lide: HTML5-based Slides Maker

That meant I spent most of my time wandering around answering random questions and helping developers debug their hacks. But, I can't be surrounded by a bunch of people hacking on cool shit and not join in myself -- it's just way too tempting. HTML5 Gallery | A showcase of sites using HTML5 markup. HTML5 Doctor, helping you implement HTML5 today.

Frameworks

Location.hash is dead. Long live HTML5 pushState! For a long time, location.hash was a way for AJAX applications to get back button and bookmarking support, and libraries like jQuery BBQ from Ben Alman made dealing with it cross browser a cinch.

location.hash is dead. Long live HTML5 pushState!

Now, with HTML5 coming of age, there is a new feature that aims to replace the use of location.hash with a better solution: pushState. Over on the Spoiled Milk blog, Jamie Appleseed describes the API as “a way to change the URL displayed in the browser through JavaScript without reloading the page.” It works on the history object like this: HTML5 presentation. Canvas demo. Expanding Images using HTML5′s contenteditable tabindex.

HTML5 has a new attribute, contenteditable, which can be applied to any element which allows it to be edited directly in the browser window.

Expanding Images using HTML5′s contenteditable tabindex

Think of text input with a predefined value, but it can literally be any element. Form elements like text inputs support the :focus pseudo class, which allow us to style those elements when they are clicked upon or otherwise navigated to. Giving an element the contenteditable attribute means it also now supports the :focus pseudo class, which opens up some interesting possibilities! We'll exploit this little trick to make an expanding image (like a lightbox without the overlay) right within some content. UPDATE: Even better, you can give attributes a tabindex attribute, like you would a form element, which allow allows :focus without the editability. Plan B: Font Fallbacks « coding@scribd. This is the fourth post in our series about Scribd’s HTML5 conversion.

Plan B: Font Fallbacks « coding@scribd

The whole process is neatly summarized in the following flowchart: In our previous post we wrote about how we encode glyph polygons from various document formats into browser fonts. The Future of Web Apps - Single Page Applications | The Worm Hole. The Future of Web Apps – Single Page Applications Mark Boas The world wide web is constantly evolving and so is the way we write the applications that run upon it.

The Future of Web Apps - Single Page Applications | The Worm Hole

The web was never really designed as a platform for today’s applications, nevertheless we continue to bend it to our will. 2 Common infrastructure — HTML5. 1 Introduction 1.1 Background This section is non-normative. HTML5 Forums :: View topic - Microdata implementation. Ajaxian. HTML5 Peeks, Pokes and Pointers.

HTML5 Demos

Video. HTML5 JS APIs. Hello HTML5. 2/19/2010 04:13:00 PMPosted by Ian Fette, Gears Team If you've wondered why there haven't been many Gears releases or posts on the Gears blog lately, it's because we've shifted our effort towards bringing all of the Gears capabilities into web standards like HTML5. We're not there yet, but we are getting closer. In January we shipped a new version of Google Chrome that natively supports a Database API similar to the Gears database API, workers (both local and shared, equivalent to workers and cross-origin wokers in Gears), and also new APIs like Local Storage and Web Sockets. SproutCore - Home. HTML5 input placeholder= via YUI) Modernizr.