HTML5 – the best way to learn it


If you want to be a good writer, you need to read books, If you want to be a good programmer, you need to read code. I heared this phrase long time ago and I feel that is true so, I always do this «Read Code». In this case I’m reading HTML5 code and today I found this site https://demos.mozilla.org/ with some HTML5 demos from Mozilla Firefox to show how HTML5 works in firefox 4, I checked the code for this example https://mozillademos.org/demos/londonproject/demo.html.

 

 

Was a really surprise saw this funny but really good License «DO WHAT THE FUCK YOU WANT TO»  inside the code, the best part is that this is a web page with some videos and image moving. No external JS or CSS file. One big single HTML5 file as you can read in the license.

<!–
AUTHOR:
@paulrouget <paul@mozilla.com>

LICENSE:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Everyone is permitted to copy and distribute verbatim or modifiedcopies of this license document, and changing it is allowed as longas the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSETERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.

BLABLA:
This is a web page with some videos and image moving.No external JS or CSS file. One big single HTML5 file.Now, stop reading the comments, and read the code.
–>

For example I checked  sentences to add videos with HTML5, I recomend you to do the same and check the full code.