The future of HTML (HyperText Markup Language)

Friday, August 22nd, 2008

HTML 5: The event loop, hashchange, and more

Category: HTML

Mark Pilgrim continues to keep us up to date with news in HTML 5 land. This week he talks to us about the birth of the event loop, and the hashchange event. I saw this just after posting about the cross browser hashchange example by Zach Leatherman. In the future we will see a nice, Read the rest…

Posted by Dion Almaer at 8:23 am
1 Comment

4.8 rating from 66 votes

Friday, August 15th, 2008

HTML5 Live DOM Validator

Category: HTML

Henri Sivonon has taken Hixie’s Live DOM Viewer, and is now running the HTML Parser within it, using GWT 1.5 RC2, which fixed a bug to do with JavaScript in hosted mode. Simply open the tool and put in some markup and see the puppy run. Below is an example that I saw on Read the rest…

Posted by Dion Almaer at 6:23 am
1 Comment

3.7 rating from 14 votes

Thursday, August 14th, 2008

This Week in HTML 5: Navigator standardization, Worker, and more

Category: HTML, Standards

Mark Pilgrim has released his second This Week in HTML 5 episode that covers window.navigator, a new Worker, talk on alt, and more. Navigator standardization The navigator attribute of the Window interface must return an instance of the Navigator interface, which represents the identity and state of the user agent (the client), and allows Web Read the rest…

Posted by Dion Almaer at 11:57 am
1 Comment

3.6 rating from 10 votes

Thursday, August 7th, 2008

This Week in HTML 5: Mark Pilgrim’s new blog series

Category: HTML

I am really jazzed about the first entry in a new series on HTML 5. Mark Pilgrim (of Python, Greasemonkey, Open Web, writer extraordinaire, and creator of Google Doctype) has started the series This Week in HTML 5 which aims to keep us up to speed on the spec, and progress across the board (what Read the rest…

Posted by Dion Almaer at 11:39 am
Comment here

3.8 rating from 21 votes

Wednesday, August 6th, 2008

Introducing HTML into an iframe and getting it back

Category: HTML, JavaScript, Tip

Michael Mahemof is working a lot with TiddlyWiki and posted on how the project injects HTML into an iframe, and then get them out later. This enables you to use the browser parser to do its thing: < View plain text > javascript // put it in var doc = iframe.document; if (iframe.contentDocument)   doc Read the rest…

Posted by Dion Almaer at 11:07 am

3 rating from 44 votes

Friday, July 25th, 2008

HTML 5 Linking all around the horn

Category: HTML, Standards

Eric Meyer has been working on an HTML 5 linking proposal and has put together a demonstration of his proposal. His linking demo shows how you could put href=”…” on paragraphs, table rows, cells, and many other places. This demo is done with simple JavaScript for now, with the obvious hope that browsers natively support Read the rest…

Posted by Dion Almaer at 7:51 am

3.7 rating from 19 votes

Wednesday, July 16th, 2008

IE8 HTML 5 Ajax Page Navigations

Category: HTML, IE, Standards

Sharath Udupa, an IE developer at Microsoft has posted on the IE 8 page navigations feature: In IE8 mode, we provide support for script to update the travel log components (for e.g. back/forward buttons, address bar) to reflect client-side updates to documents. This allows a better user experience where users can navigate back and forth Read the rest…

Posted by Dion Almaer at 7:06 am

3.7 rating from 26 votes

Monday, July 14th, 2008

HTML 5 data- elements to store private values

Category: HTML

John Resig goes into more detail on the HTML 5 data- elements that gives developers a valid place to store metadata: This allows you to write valid HTML markup (passing an HTML 5 validator) while, simultaneously, embedding data within your page. A quick example: < View plain text > HTML <li class="user" data-name="John Resig" data-city="Boston" Read the rest…

Posted by Dion Almaer at 7:45 am

3.8 rating from 22 votes

Thursday, June 12th, 2008

Validanguage 0.9: More form validation

Category: HTML, JavaScript

Form validation may seem a little boring, but it is still one of the low hanging fruits for Ajax. Validanguage is a simple new validation framework that you can access and configure through HTML (via comments rather than attributes) and a JSON API. For example, if you place the following next to an input, it Read the rest…

Posted by Dion Almaer at 7:25 am

3.4 rating from 18 votes

Wednesday, June 4th, 2008

Mozilla Experiments with Applying SVG Effects to HTML

Category: Firefox, HTML, SVG

It seems so obvious once you think about it, but Rob O’Callahan from Mozilla took us by surprise in his blog post demonstrating his experimental branch of Gecko that allows you to apply SVG effects to HTML. The code for applying the effects above follows: < View plain text > xml <html xmlns=""     Read the rest…

Posted by Ben Galbraith at 6:00 am

4.2 rating from 21 votes

Wednesday, May 28th, 2008

HTML5 Video tag implemented in Flash

Category: HTML, Standards

Mike Chambers has create a nice proof of concept that implements the HTML 5 tag using JavaScript and Flash: asically, this parses out VIDEO element / tag and its attributes, and replaces it with the appropriate OBJECT or EMBED element to display a Flash video player that loads the specified video. It has support for Read the rest…

Posted by Dion Almaer at 8:08 am

4.6 rating from 9 votes

Tuesday, May 27th, 2008

HTML 5 and a different kind of ruby support

Category: HTML, Standards

Anne van Kesteren gave an XTech presentation on HTML 5 and boiled it down to this: The Web’s language is HTML The Web’s application language is HTML too HTML is pretty broken HTML5 to the rescue Defines processing for all of HTML Is for Web applications and documents Is defined in as an abstract language Read the rest…

Posted by Dion Almaer at 12:15 am

4.1 rating from 14 votes

Monday, May 26th, 2008

UFrame: div meets iframe

Category: HTML, Library

Omar AL Zabir has posted about a new library called UFrame: UFrame combines the goodness of UpdatePanel and iframe in a cross browser and cross platform solution. It allows a div to behave like an IFRAME loading content from any page either static or dynamic. It can load pages having both inline and external Javascript Read the rest…

Posted by Dion Almaer at 9:32 am

2.9 rating from 77 votes

Monday, May 5th, 2008

HTML Parser in JavaScript

Category: HTML, JavaScript

John must have had some downtime on Sunday afternoon, as he implemented an HTML parser in JavaScript. The library, that you can play with via this demo, lets you attack HTML in a few ways: A SAX-style API Handles tag, text, and comments with callbacks. For example, let’s say you wanted to implement a simple Read the rest…

Posted by Dion Almaer at 10:51 am

3.2 rating from 37 votes

Wednesday, April 23rd, 2008

Embed your data- in HTML 5

Category: Dojo, HTML, Standards, Unobtrusive JS

Simon Willison pointed out the part of the HTML 5 spec that discusses a way to add attributes to HTML elements for your own needs via data-. For example, a spaceship for a game: < View plain text > HTML <div class="spaceship" data-id="92432"     data-weapons="laser 2" data-shields="50%"     data-x="30" data-y="10" data-z="90">  <button class="fire" Read the rest…

Posted by Dion Almaer at 7:55 am

4.4 rating from 44 votes

Monday, February 11th, 2008

Cross Window Messaging with HTML 5 postMessage

Category: Browsers, HTML, JavaScript

John Resig has written a Cross-Window Messaging sample using Firefox 3, which implements the current postMessage API in HTML 5. Opera 9 implements a slightly older version, and a new release will fix that of course: This particular API adds a new method to every window (including the current window, popups, iframes, and frames) that Read the rest…

Posted by Dion Almaer at 6:20 am

4.2 rating from 34 votes