Jeremy starts by talking about design principles, saying that there are design principles behind every piece of software, or anything in fact. He sets out some examples from fiction - including the ‘design principle’ in Animal Farm by George Orwell - “Four legs good, two legs bad”.
He then moves onto the specifications of HTML. There was no official version 1, version 2 was released in 1995, then HTML 3.2 in 1997, with HTML 4.0 released in the same year (a high velocity year for web design). In 1999 HTML 4.01 was released - the last official version of HTML.
Next the W3C started working on XHTML, with version 1 in 2000 and version 1.1 in 2001. XHTML didn’t introduce anything new except some new syntax - adapting HTML to the XML formatting. This made the validator a more powerful tool.
But then development split - the W3C insisted it wanted to continue development of XHTML, and abandon the HTML specification. So the browser manufacturers created their own group - The Web Hyptext Application Technology Group (WHATWG) - which was formed in 2004.
But then in 2006/7 the W3C recanted and decided to develop an HTML5 specification - and bring in the WHATWG work so far. The two groups are working together, but have very different approaches.
HTML 4.01 and XHTML 1.0 - You have to start with the Doctype declaration - but no one can ever remember it. So in HTML5 - to avoid needless complexity, the doctype is <!DOCTYPE html>
There doesn’t need to be a version number in this declaration any more - the browsers don’t really read it - it’s just for the validators to read, but future versions of
This doctype is the minimum number of bytes required to trigger standards mode in legacy browsers. The HTML5 specification is very pragmatic.
In HTML 4.01 if you want to specify the character encoding by using a meta element, and again it’s relatively complicated. XHMTL also makes this relatively complicated.
With HTML5 you just use <meta charset=”utf-8”> and it turns out that this has always been valid and works in legacy browsers. So again, very pragmatic.
<link rel=”stylesheet href=”file.css”> - you don’t have to specify the filetype- this is also true for including javascript.
Syntax is now much looser. For example, you don’t have to make attributes lowercase or uppercase, you don’t have to close tags.
So validators won’t now enforce coding styles and syntax - that’s now the job of external tools. Just as JSLint does for javascript.
Jeremy says the specifcation is very pragmatic - it focuses on enabling what web developers/designers want to do.
For example you can now wrap a heading and a paragraph all in one anchor tag. Designers want to do this all the time, and now they can. It turns out again that this has always been valid - it just didn’t validate.
Elements
There’s a bunch of new elements in the specification:
- section
- articles
- aside
- nav
- header
- footer
- details
- figure
So where you had divs for a header, footer etc you can now simply use the new HTML5 elements. But that’s only part of the story: instead of thinking about the elements as replacements for IDs think of them as replacements for classes - because you can use them multiple times.
Some of these attributes are ‘section’ attributes - and these are standalone containers. You can nest them, place them as you wish, and they are very flexible.
So a node page may now be:
<section class = "node">
<header><h1>..</h1></header>
<footer class="meta">..</footer>
<div class="content">
..
</div>
<nav class="links">..</div>
</section>
Jeremy credits the boron project and the HTML5 tools project for helping Drupal become HTML5 ready.
Forms
A key attribute that’s changing is the ‘input’ type. You can now use:
input type=”number”
input type=”date”
input type=”search”
Using these input types means that newer browsers will provide better UI for those inputs - but old browsers will simply fallback to a text input.
There are also new attributes. Using ‘input type=”search” placeholder=”Search”’ means that the search input box will be populated with placeholder text that will be displayed until the users start typing.
And a ‘required’ tag lets you tell the browser to make sure all fields are filled in that need to be.
HTML5 vs Flash
When people talk about this clash they essentially are talking about a small subsection of HTML5 and a small subsection of what Flash can do - essentially how video is displayed.
The HTML5 video attribute wraps around fallback content - and that fallback can be Flash. You can also have multiple levels of fallback using the ‘source’ attribute:
<video>
<source src = "movie.mp4">
<source src = "movie.ogv">
<object data = "movie.swf">
<a href="movie.mp4">download</a>
</object>
</video>
This provides the maximum flexibility and support.
Jeremy wishes that there could just be one standard format of video or audio files. He says this would really help multimedia take off on the web. But the standards are mired in patents and legal complications that mean they can’t be used in all browsers.
Design Principles
Jeremy returns to talking about the design of the HTML5 specification, and says it was developed to the following rule:
Priority of Consitituencies:
In case of conflict, consider users over authors over implementers over specifiers over theoretical purity.
This means that if a browser maker (an implementer) disagrees with any proposal for the specification and refuses to implement it, it doesn’t get in the specification at all.
He says the Mozilla Foundation has a manifesto, and also highlights the one from the Drupal Usability project:
1. Make the most frequent tasks easy and less frequent tasks achievable
2. Design for the 80%
3. Privilege the content creator
4. Make the default settings smart
Mark Boulton, Leisa Reichelt, d7ux.org
Can you start using HTML5 now? Yes - the only thing is to be careful with the section attributes. IE doesn’t support these, but various javascript scripts exist to add recognition of those tags. IE9 will support HTML5 just fine - Jeremy says he’s not joking, it really will.
He says HTML5 will also be great for accessibility. The nav element means screenreaders can easily identify any navigation. It’s also easier to use ARIA roles.
HTML5 has a lovely new API for client-side validation - but Jeremy says you must still do server side validation.





Comments
Great live blog Steve, lots of interesting stuff.
Two small things I noticed though:
Should that “-” be in there or is it a typo?
Then in Design Principles you write “This means that if a browser maker disagrees” but that sentence never finishes.
/thomas
I would like a man now who is rich, and who can give me a boat - a sailboat. I want to own it and let him pay for it. My first love is the sea and water, not music. Music is second.
it is very true in the boating industry, u can see boats for sale
They were singing, Gillette, the best a man can get, with a lot of guys hugging their fathers and sailing and riding bikes. I suddenly felt a long way from the best a man could get and I thought it would be nice to get from there to the best. interesting bikes bikes for sale
But hopes are Shy Birds flying at a great distance seldom reached by the best of Guns.
great post, birds and parrots relate to this birds for sale
Next the W3C started working on XHTML, with version 1 in 2000 and doctorate degree version 1.1 in 2001. Online Certificate XHTML didn’t introduce anything Online Diploma new except some new syntax - university programs adapting HTML to the XML formatting. This made the validator a more powerful tool.Online Universities
Much of the information that I can get HTML5 is associated with this article. I really was doing was searching information about HTML5. And this article really helped me. seo
Thanks for the information. I’ll be sure to come back for updates.
Max Burn
Xtreme NO
HGH Energizer
irenew
Plaque Attack
Much of the information that I can get HTML5 is associated with this article.
Thanks for sharing. I think it’s completely unbelievable and one of the best blogs I have seen. Your blog post is really impressive.
ice cream sandwich
A very nice post with good information in it. I hope this blog stays up for a long time.
Cheers.
TheGateKeeper (Muay Thai | Self Defense Laws | Martial Arts for Children)
Thanks
it is true… the author has excellent writing skills. I found so many useful information above. charter yachts
like you said in the comment. It was founded on liberal values, but I dont really know how valuable are the values right now. I am curious to see your opinion about it! wedding ring sets
Great places cannot creat great moments until you dono decide to make it memorable “Great place, Great weather, my wife & I took out 1 yearold son! Being outside there was lots of place to hang out. We loved it & so did he.”
Regards,
Power Tools
The songwriter and lead guitarist Josh Partington created a side project of his own called firescape, McMahon started writing his own songs. 1031 investment property
I wanted to write a quick note to express my thanks. I’m really impressed by a blog unique and perfectly chosen and organized. Designer Radiators
Of course, the use of credit cards is a very popular and convenient way of getting some amount of money in debt but it also means that you always live in debts and you always think how to pay it off without additional fees fun books
That is some inspirational stuff. Never knew that opinions could be this varied. Thanks for all the enthusiasm to offer such helpful information here.
cell phone spying
I really appreciate your professional approach. I would like to thank you for the efforts you made in writing this post. wedding gown designers
i just invested in a high dividend stock in your country after reading about the amount of cellular use seems like you have one of the better companies in that area there Bed Bugs Seattle
I certainly enjoyed the way you explore your experience and knowledge of the subject! Keep up on it. Thanks for sharing the info yacht charter greece
I agree with you Recaro Proride Convertible Car Seat
Can I just say, this blog is what got me through the day today.
Every time I read it, I just get more and more excited about whats next.
Very refreshing blog and very refreshing ideas.
Im glad that I came across this when I did.
I love what youve got to say and the way you say it. free cell phone spy
Very informative site
Learn guitar
Learn piano
Yes it is a great site Britax Marathon 70
Some interesting thoughts on the subject. Looking forward to see what else you post in the future.
WINKS London
i have read this topic and recycling is important to keep atmosphere clean and good and its also good for the people and societ its a great work. evening dresses
I agree with you Samsung Galaxy S3
It’s like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a bit, but instead of that, this is great blog. Crescent Processing Company
Nice post keep up with this good work.Very Nice Blog. It shows the standard of author that how he involved in this topic heartily. Thank you very much for this
p90x blog
This is such a great thing to know “He then moves onto the specifications of HTML. Mail Forwarding
Although not a must, most good quality blogs are interactive, allowing visitors to leave comments and even message each other via GUI widgets on the blogs and it is this interactivity that distinguishes them from other static websites.[2] In that sense, blogging can be seen as a form of social networking.
flower bed edging || lbps loan modification || mantis tiller || lawn aerator || invisalign vs braces
Ich würde ihn auch behalten! Ich lese mich sehr gerne hier durch, ein Verkauf kann es nicht besser machen. Hoffe das hilft bei der Entscheidung.
The person who shaped this post is a genius and knows how to keep the readers joined.Thanks for giving out this with us. I found it informative and interesting. http://www.dafa888.com/
I like the way you made you campaign. As we all knew many people in every places sometimes don’t eat regular meals because they have lack of everything. Soccer Betting
I will be pretty sure I most certainly will become familiar with a lots of new stuff throughout future! los angeles furniture
This is a brilliant idea, I will be following your progress alongside with applejux. Good luck and hope to hear great things nursing schools
I appreciate your kind way of knowledge sharing, thanks
American Property Lawyer UK
Trust me, this Orgreenic old fella has been to many sites. Keep up the good work.
Nice post, thanks for sharing
Conveyancing Leicester
This is the perfect blog if you want to be informed on this topic…… It’s full of truly information…… Your internet site is handy…… I admire the valuable advice you earn easily obtainable in your expertly subject matter…… I wish to i appreciate you for this informative read;….. I must say i appreciate sharing this brilliant…… clubmz
Finally I understand how to do it.. thank you for the above advice. It is really nice what you said Immobilien Mallorca
Much of the information that I can get HTML5 is associated with this article. I really was doing was searching information about HTML5. And this article really helped me
Aus dem Grund kann ich mir nicht vorstellen, dass es einen würdigen Nachfolger für das Blog geben kann. Denn niemand kann Deine Persönlichkeit bzw.
Yes I agree with you thank you for the info
http://8zhm.com/
http://thekindlepro.com/
http://creationarygame3844.com/
Thanks for sharing. I think it’s completely unbelievable and one of the best blogs I have seen. Your blog post is really impressive
Thanks for sharing. I think it’s completely unbelievable and one of the best blogs I have seen. Your blog post is really impressive
Custom t-shirts
I guess it is actually not so easy. We have to master some technical ways to design and combine our imaginatives images. Online Fast Food
Your gumption and concepts throughout increasing Really simply syndication is a superb a single. This will usually the goal to the next level along with broaden their course in making effective and also successful internet site items. Additionally, SEO can be a excellent named beneficiary for this. Thanks for discussing this specific submit. cityville cheats
cityville hack
minecraft hack
minecraft cheats
farmville cheats
This is very nice and cool post.I was waiting for this type article and I have gained some useful information from this site about the good hospital. Thanks for sharing this information. Keep blogging.
Sites Select
This is a nice site
Learn guitar
Learn piano
Yes I agree Graco Nautilus 3-in-1 car seat
This kind of job sounds easy,cool and fun but I guess it is actually not so easy. We have to master some technical ways to design and combine our imaginatives images. web hosting
Post new comment