How to take advantage of HTML5 to create amazing websites and revolutionary applications
Revised 2nd Edition
There is a new edition of this book available!
Click here for more information.
Revised 2nd Edition
ISBN: 978-1500429126
More than 400 Codes Explained!
Learn to develop responsive websites and applications with HTML5
HTML5 for Masterminds leads the reader step by step to gain essential knowledge and to master complex subjects introduced by HTML5. After reading this book, you will know how to structure your documents with HTML, how to style them with CSS and how to work with the most powerful JavaScript APIs.

This book is not an introduction, but instead a complete course that will teach you how to build compelling websites and amazing web applications from scratch. Every chapter explores both basic and complicated concepts of HTML, CSS, and JavaScript. Information is supported by fully functional examples to guide beginners and experts through every single tag, style and function included in the specifications. The examples are distributed throughout the book in a specific order to gradually introduce complex topics and make them accessible to everyone.

The goal of HTML5 for Masterminds is to make you familiar with the most advanced technologies for the web. It was designed to prepare you for the future, and it was written for the genius inside you, for Masterminds.

More than 400 Codes Explained!
Everything you need to know!
Introduction to HTML, CSS and JavaScript | HTML5 Elements | Traditional and Flexible Box Models | HTML5 Video and Audio | CSS3 Properties, Selectors and Pseudo-Classes | Form Elements | Form API and Validation | JavaScript Selectors | Canvas API | WebGL API | Web Audio API | IndexedDB API | Web Storage API | File API | Web Socket API |WebRTC API | Stream API | Fullscreen API | Ajax Level 2 | Web Workers API | Drag and Drop API | History API | Web Messaging API | Pointer Lock API | Geolocation API | Offline API | Page Visibility API | TextTrack API
Learn by examples!
Introduction to HTML, CSS and JavaScript
Learn how to create HTML documents, how to style them with CSS, and how to program the most amazing applications using JavaScript. Chapter 1, 2 and 3 provide an introduction to the three essential programming languages for the web and prepare you for the rest of the book. You will learn how to create traditional and new HTML elements, declare CSS properties and create fully functional JavaScript programs.
Create 2D and 3D applications
Learn how to use the Canvas API, WebGL and the Three.js library to create 2D and 3D applications, animations, and video games. The book explores basic and advance features of these powerful APIs. You will learn how to create simple and professional animations in 2D and 3D. The book walks you through fully functional examples of applications and video games to teach you how to implement this new technologies and create applications and video games for the web.
Create a video player
Learn how to use the media elements to create video and audio players, control the webcam and microphone, and process video dynamically on the web. You will be able to capture video and take pictures from the webcam, create your own video player and subtitle your videos combining the <video>, <audio> and <track> elements with JavaScript codes and the new TextTrack API.
Create a video call system
Learn how to work with the WebRTC API to create peer-to-peer connections to make video calls on the web and transfer data from one user to another. Using the WebRTC API you will be able to create any kind of peer-to-peer applications that will connect your users from your website or web application. Learn how to program a video calling system and a chat room to make calls and transfer data from one computer to another.
Generate audio for 2D and 3D applications
Learn how to use the Web Audio API to create an audio system for your applications or video games. You will learn how to apply effects and compress audio sources, how to adapt the sound to your 3D scene and how to generate graphics to visualize the audio signal on the screen. Integrate your applications and video games with audio to create a realistic experience.
What our readers are saying
Most underrated web development book of the 21st century
"Awesome book, taught me the beggining steps of web development to a point where I feel very comfortable with front end topics. I emailed the author once for an error in the resources on his site and he fixed it within a few hours. I recommend this book."
Best web programming book I've come across.
"Before I bought this book, I had an understanding of HTML, CSS, Javascript, JQuery and Ajax, but didn't have a lot of practical experience. This book takes a chapter to discuss an API over each of ~25 chapters, far improved over the first edition of this book which had fewer chapters. Some of these APIs (Drag 'n Drop comes to mind off bat), can be accomplished more easily with JQuery, while the chapter in this book focused more on Javascript...something to keep in mind. Other chapters, like using HTML5 databasing or 2D or 3D canvasing were golden, even though I am currently using app engine for databases...it is good to know what options exist. For someone with no formal training, this book is a great eye-opener to web programming's possibilities."
Just brilliant
"I bought this book just to improve my understanding of how web works, not having yet practiced many examples just a quick daily 15 minute read and was amazed by concise and clear descriptions of various aspects of modern web technologies and their development, In Fact Javascript is not a scripting language anymore and I could figure that many personal and commercial use applications can be built just using available web technologies explained in the book. Many Thanks to Author for writing this book."
Very good
"Really good book for reference. And it's not just HTML, but a lot of in-depth stuff about new CSS stuff and JS. Picked up a lot from this."
Good introduction to HTML5 and associated technologies
"I've enjoyed this book. I've wanted to get back into these technologies. I'm only about 60% of the way through, but it's at just the right level for me. I've been doing HTML for nearly 20 years (really!) but management happened ;-) and I really didn't do much technically as HTML became much more complex and dynamic. While I'd coded in Javascript for small things, again, I didn't do the deep dive. I could spell CSS but that's it. I found this book to be very sensible in the level of detail, clarity of examples and general presentation. I'm up through the chapters on 3D graphics now, and am looking forward to finishing the book."
Brilliant for going through the new features and integration
"The book is well written for anyone who has some knowledge of using html,css and javascript and shows just how well they now operate together. My reference chapters are the Canvas,WebStorage,Offline API and Web Workers. Examples are easy to follow and change around to do what you want , very good book overall."
Using the Kindle Edition
"This is the first book I downloaded for use on my mobile phone and iPad. I love having this ebook with me when I need it. The content is great and very useful."
Step by Step
Learn only what you need when you need it. Each technology is introduced with examples that only implement what you already know, so you can focus on the new topic and effortlessly understand how it all works.
Learn everything you need to develop professional applications. From the basics of computer programming to the most advanced technologies available today.
All Leves
You can read our books from top to bottom as a course, pick a chapter for a quick tutorial, or use as a reference. Our books are the perfect companion for developers. From beginners to experts.
An option for Everybody
Books | eBooks | Video Courses | Quick Guides
More Books
For Masterminds books include everything you need to develop professional applications. Create amazing websites and insanely great apps for iPhones, iPads and Mac computers.