BarCamp Cambridge - James talking about HTML5
James is just an interested bysander on the HTML 5 mailing list, hey, it's a
barcamp
html5 is th enew verison of html
apple
mozilla
opera
anyone who joins the mailing list
and
w3c (which means MS, which means this is going to work in IE)
if you have ideas, then you can joing hte mailing list and put ideas
forwards for the specification
why should we?
lots of information is locked up in HTML, not XML, not SVGL
most of it is invalid
it's important to know how to parse this invalid html, at the moment all of
this understanding is locked up in browers, you have to reverse hack mozilla
or IE souce, not a good situation to be in
HTML4 is underspecified
incisistent
does not match reality
for example the reason when google maps is launced, it didn't work in Safari
because no one knows how to parse HTML
another example is video, you need a proprietary plug in to watch videos in
you tube, this is nuts
what of xhtml, this requires XML, and for a lot of people this is also nuts
most browser vendors can't impliemtnXHTML2 inther browser
what is the proceedure?
identify use cases
and look for solutions to use cases
this is more contentions than you would think
html 5 looks like html
some changes
doctype is shrter
charset is supported
what interesting features are implimented
things like
nav could be ignored by screen readers
aside is designed for pull out boxes.
some of the reasons for these new items is a google search for favourite
class names used in html
these items closely follow a hughe number of entities that are already in
use
html 5 specifies more algorithms in more details
you can associate a visable caption with an image
(is called a legend, not caption for historical reasons)
finally good support for video
multiple encodings supported with source elements
with fallback content
autoplay attribute for audio
lots of DOM support, so you could write a media player in HTML 5
this is working already
new inline elements, e.g. datetime, progress, meter. (specify value through
attributes or get values via program??)
lot's of support for forms,
sample shows many high level form inputs with easy coding.
lots more, canvas element used by yahoo pipes
parsing, HTML privides a detailed parsing algorithim that can deal with
mis-formed html
it is designed with desktop browsers in mind.
implimentaion in html5lib (originally written in python, ported to Ruby).
you can use this on the web and see how the parser works there.
! Discussion