37
11 tips to ...

11 tips to

Embed Size (px)

DESCRIPTION

Presentation with tips to learn about HTML5 for FeWeb.

Citation preview

Page 1: 11 tips to

11 tips to ...

Page 2: 11 tips to

learn about

Page 3: 11 tips to

Like @AGConsult and @Wolfr_ did to their presentations, I added some of these sticky notes to give extra meaning to some slides since they mostly contain a few words or images.

Page 4: 11 tips to

Hi! I’m Thomas

Page 5: 11 tips to

I work at

Page 6: 11 tips to

HTML5 isn’t just another

buzzwordI notice that the term HTML5 is often being used as an argument by sales, which is a good thing because it’s not just another buzzword and there’s a lot to it.

Page 7: 11 tips to

but it won’t replace Flash either

But I also want to make sure that people aren’t thinking that HTML5 is the new Flash because of it’s possibilities concerning animations and such.They are two, totally different ways of approaching the web. They both have their qualities as well as shortcomings.

Page 8: 11 tips to

‣ extension HTML4

What do you need to know?

I guess the most important thing you should know is that HTML5 is just an extension of it’s predecessor HTML4. I often get the impression that some are talking about this topic as if it were a whole new invention.In short, HTML5 is an improved version of the previous versions with great eye for semantics and native browser support for elements such as video and audio (where you often were in need of flash embeds in the past).

Page 9: 11 tips to

‣ extension HTML4

‣ browser support

What do you need to know?

Page 10: 11 tips to

‣ extension HTML4

‣ browser support

‣ semantics

What do you need to know?

Page 11: 11 tips to

‣ extension HTML4

‣ browser support

‣ semantics

‣ input type attributes

What do you need to know?

Page 12: 11 tips to

‣ extension HTML4

‣ browser support

‣ semantics

‣ input type attributes

‣ media

What do you need to know?

Page 13: 11 tips to

‣ extension HTML4

‣ browser support

‣ semantics

‣ input type attributes

‣ media

‣ canvas

What do you need to know?

Page 14: 11 tips to

Browser support

Page 15: 11 tips to

Browser support

Page 16: 11 tips to

Browser support

<!--[if lt IE 9]> <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

HTML5 degrades gracefully. In practice this means that older browsers can handle these new tags perfectly, except for IE6, IE7 and IE8.To enable the use of the new HTML5 tags, you need to load this simple piece of JavaScript which creates these new elements for you so the browser would recognize them.Important note: you should use a CSS reset for every browser to define the new tags as block level elements.

Page 17: 11 tips to

‣ header

‣ footer

‣ time

‣ summary

‣ article

‣ section

‣ aside

‣ nav

‣ figure

Semantics

Page 18: 11 tips to

diveintohtml5.info/semantics.html

Semantics

Some of the new tags are listed on the previous slide, which I think contribute most to the semantics of a web page.If you want more information about those tags or other new ones, I suggest you to visit the website mentioned above which was made by Mark Pilgrim.

Page 19: 11 tips to

‣ tel

‣ search

‣ email

‣ number

‣ range

Input type attributes

Another interesting aspect of HTML5 are the new input type attributes. They provide great usability improvements with little effort.For example: when specifying an email type attribute on an input field, the keyboard on an iPhone shows slight changes with the default one when this input field is focussed. This way the @-symbol is directly accessible without having to tap the special characters button.

Page 20: 11 tips to

‣ audio

‣ video

Media

HTML5 provides the new audio and video tag which give native browser implementations of music and video fragments.The problem so far is that there is no agreement amongst browsers which format to use for these files.At this point, you have to specify each format for audio and video to get this to work cross browser.This way, the browser will just pick the format it supports and ignore the others.

Page 21: 11 tips to

Uses JavaScript to make drawings

on a web page

Canvas

The new canvas element is a fun way to play with drawings on the web without having to use Flash. You can use this for a variety of things from showing the rhythm and beats from a song to plain old graphs which represent the finances of your company.

Page 22: 11 tips to

Books

We live in a world where everything becomes digital. Still, I grew up with getting to know both books and the web.What I’m trying to say is that you should consider buying some books and start reading again.Some books I definitely recommend are the ones from “A book apart” on different web-related topics.

Page 23: 11 tips to

BooksAnother really cool one is “Hardboiled web design” by Andy Clarke.It has awesome graphics and interesting practical tips and tricks on HTML5 and related topics.

Page 24: 11 tips to

Books

If you want to get familiar with HTML5 in specific, here’s a great book to get an “Introduction to HTML5” by Bruce Lawson.

Page 25: 11 tips to

Social networks

Page 26: 11 tips to

Social networks

Page 27: 11 tips to

Social networks

‣ @adactio

‣ @jina

‣ @leaverou

‣ @codepo8

‣ @necolas

I guess we all know Twitter, so why not follow a few people who can teach you a thing or two about HTML5 and other new cool stuff?

Page 28: 11 tips to
Page 29: 11 tips to

‣ html5doctor.com

‣ alistapart.com

‣ adactio.com

‣ hacks.mozilla.com

‣ nicolasgallagher.com

Blog

If you prefer online reading over books, here are some blogs you should read to learn about the web.Especially html5doctor.com is interesting because they answer questions from their readers.

Page 30: 11 tips to

View source

Page 31: 11 tips to

Inspector toolsIn my opinion, an underestimated way of learning about the web: use the inspector tools to see how other people have built websites or certain parts in them.The same goes for the view source tip actually.

Page 32: 11 tips to

Inspector tools

Page 33: 11 tips to

If you ask me, the best tip I can give you: get to know the Fronteers organisation. They organize this fantastic annual conference in Amsterdam with a ton of international speakers.If you don’t want to wait a whole year to get in touch (and you shouldn’t), you should attend one of the (free) meetings which are organized monthly throughout Belgium and the Netherlands.Just visit fronteers.nl and follow @fronteersbe on Twitter. Hope to see you at the next meeting in Belgium!

Page 34: 11 tips to

FrameworksBest practical tip: get your hands on HTML5 with the HTML5 Boilerplate. Download it, check it out and strip what you don’t want to use.A great way to learn this stuff in practice and I’m sure there’s some stuff in there you won’t easily read about on the web if you’re not familiar with this topic.

Page 35: 11 tips to

Experiment

Page 36: 11 tips to

QUESTIONS?