HTML


The future of HTML (HyperText Markup Language)


Monday, January 28th, 2008

Less maintenance code tutorials with Ajax Code Display

Category: Examples, HTML, JavaScript, jQuery, Unobtrusive JS

One of my main annoyances with writing code tutorials is that you need to maintain code in several locations: the code itself and the examples in the tutorial document. This is not really a problem when you can use a scripting language or print out the tutorials from a CMS, but when you just want Read the rest…

Posted by Chris Heilmann at 11:18 am
6 Comments

++++-
4.2 rating from 25 votes

Thursday, January 24th, 2008

Getting HTML 5 styles in IE 7+

Category: HTML, IE, JavaScript

Btw, if you want CSS rules to apply to unknown elements in IE, you just have to do document.createElement(elementName). This somehow lets the CSS engine know that elements with that name exist. This was uttered by Sjoerd Visscher innocently on a Sam Ruby thread, and it sent ripples of “huh? really? How come I never Read the rest…

Posted by Dion Almaer at 8:46 am
2 Comments

++++-
4 rating from 23 votes

Wednesday, January 23rd, 2008

HTML 5 Public Working Draft Released

Category: HTML

While the community argued over X-UA-Compatible or X-IE-VERSION-FREEZE, depending on which side of the fence you sit, the W3C published two new and important documents: Moments ago the joint effort of the W3C HTML WG and WHATWG resulted in publication of two documents in the W3C Technical Report space: HTML 5 and HTML 5 differences Read the rest…

Posted by Dion Almaer at 9:00 am
10 Comments

+++--
3.9 rating from 33 votes

Friday, December 7th, 2007

Taking a peak at HTML 5

Category: HTML

Lachlan Hunt has taken some time to walk us through some of the HTML 5 features that relate to new markup. Work on HTML 5, which commenced in 2004, is currently being carried out in a joint effort between the W3C HTML WG and the WHATWG. Many key players are participating in the W3C effort Read the rest…

Posted by Dion Almaer at 5:57 am
21 Comments

++++-
4.1 rating from 41 votes

Tuesday, November 13th, 2007

HTML5 Media Support: video and audio tags and scriptability

Category: HTML, JavaScript, WebKit

WebKit keeps on trucking and has added support for the HTML 5 media tags such as <video> and <audio>. You can add video to a page as easily as: < View plain text > HTML <video src="sample.mov" autoplay></video> That is a lot cleaner than the mess of embed/object/JavaScript wrappers that we have today. Also, there Read the rest…

Posted by Dion Almaer at 7:46 am
14 Comments

++++-
4.2 rating from 49 votes

Wednesday, October 24th, 2007

HTML5 Wrapper for Gears Database Component

Category: Gears, HTML

Dimitri Glazkov took a look at the HTML 5 SQL Storage API which WebKit just implemented and put together a Gears wrapper. As an example he has Stickies running on Firefox with Gears. The bridge is very simple indeed. Just take a peek at the code. The major note here is that the current draft Read the rest…

Posted by Dion Almaer at 8:49 am
3 Comments

+++--
3 rating from 19 votes

Friday, October 19th, 2007

Relative URLs as //ajaxian.com

Category: HTML, Tip

I had never thought to use relative URLs that are just relative to the protocol scheme as Ned Batchelder explains in his post on Http-https transitions and relative URLs. < View plain text > HTML <img src=’//fast.cdn.net/pix/smiley.jpg’ /> Who knew.

Posted by Dion Almaer at 11:00 am
6 Comments

+----
1.8 rating from 128 votes

Wednesday, August 22nd, 2007

Is the iPhone the IE4 of 2007? Sheesh

Category: Editorial, HTML

I think part of the reason why Microsoft stopped developing IE is that the developers behind it got sick of being criticized for trying to innovate. Many of them left the IE team and moved over to the XAML project (aka WPF/Silverlight) so they could continue to do great work without being attacked for it. Read the rest…

Posted by Dion Almaer at 12:39 am
28 Comments

+++--
3.6 rating from 30 votes

Friday, August 17th, 2007

Web Forms 2.0: Cross Browser Implementation

Category: HTML, Standards

Weston Ruter has created Web Forms 2, a cross-browser implementation of the WHATWG Web Forms 2.0 specification. This specification is currently a mature working draft and has been adopted by the W3C HTML Working Group to serve as a starting point for the next version of HTML. This implementation will follow the HTML 5 specification Read the rest…

Posted by Dion Almaer at 9:45 am
3 Comments

++---
2.5 rating from 56 votes

Tuesday, August 14th, 2007

Work around the z-index issue with heavyweight IE components

Category: HTML, JavaScript, Library

Brandon Aaron has developed a general work around for the common, nagging problem with IE6 and heavyweight components such as a select drop down ignoring z-index. Brandon created the background iframe (bgiframe) jQuery plugin which “provides a very small, quick and easy way to fix that problem so you don’t have to worry about it. Read the rest…

Posted by Dion Almaer at 8:18 am
27 Comments

++---
2.5 rating from 187 votes

Tuesday, August 7th, 2007

HTML 5 Parser Optimizations

Category: HTML

Ian Hickson likes to get practical. He was able to run some reports on ~ten billion documents in the Google index , and used the data to be able to give real advice to HTML parser implementors. As always, it is always interesting to see what real world data throws out at you. The three Read the rest…

Posted by Dion Almaer at 6:14 pm
6 Comments

+++--
3.3 rating from 21 votes

Friday, June 29th, 2007

Art with Tables

Category: Fun, HTML

As we rant and rave about CSS the true artists are up to amazing things with HTML tables :) Here is some Friday fun:

Posted by Dion Almaer at 6:59 am
23 Comments

+++--
3.8 rating from 67 votes

Friday, May 11th, 2007

HTML 5: Positive Momentum

Category: HTML

Kevin Yank has written up a roundup of the first six months with the new HTML working group, with one piece of very positive news: A Surprise Proposal Before the search could begin, however, representatives of Mozilla, Apple, and Opera came forward with a proposal to adopt the WHAT Working Group’s HTML5 draft specification as Read the rest…

Posted by Dion Almaer at 2:01 am
16 Comments

++++-
4.2 rating from 51 votes

Tuesday, April 10th, 2007

Proposal for the W3C to adopt HTML 5

Category: Editorial, HTML

Mozilla, Opera, and Apple have all come together to propose that the new HTML Working Group at the W3C adopt the HTML 5 work from WHATWG. And before anyone shouts about patents, “Apple, Mozilla and Opera will agree to arrange a non-exclusive copyright assignment to the W3 Consortium”. Considering the work that has been put Read the rest…

Posted by Dion Almaer at 1:14 pm
52 Comments

++++-
4.1 rating from 38 votes

Monday, March 5th, 2007

Opera

Category: HTML, Opera

Opera has published a proposal (that is implemented in an internal build) for a <video> HTML element. This has been talked about for quite awhile, and they got around to doing it. Example < View plain text > HTML <script>   function play(video) { document.getElementById(video).play() }   function pause(video) { document.getElementById(video).pause() }   function stop(video) Read the rest…

Posted by Dion Almaer at 4:43 am
17 Comments

+++--
3.3 rating from 29 votes

Friday, September 22nd, 2006

Why doesn’t <script /> work?

Category: HTML

Admit it. One time in your youth you did the following: < View plain text > javascript <head> <script src="…" type="text/javascript" /> Then, when you tested your app you quickly found that your JavaScript wasn’t being called. When you realise the problem is that you needed to explicitly close the script tag with </script> you Read the rest…

Posted by Dion Almaer at 1:18 pm
9 Comments

+++--
3.8 rating from 39 votes