• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Head First HTML 5 versus Head First HTML and CSS

 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the approach of the book HTML 5 similar to the one for HTML and CSS? Looks like in HTML5 book there's more focus on Javascript. I was wondering why is this? May be because HTML5 has introduced new features which leverage Javascript more?
 
Elisabeth Robson
author
Ranch Hand
Posts: 173
6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Head First HTML5 Programming is primarily about programming web applications, so much of the book focuses on JavaScript. The book assumes you've read Head First HTML and CSS and understand the basics of HTML and CSS. The only two elements we cover in depth are canvas and video. Canvas, of course, is really simple; the bulk of the interesting things about canvas are in the JavaScript API. You can do a lot with the video element without canvas, but if you want to implement your own player or do custom things (like we show in the book, add effects to video, for example), then again, you need to use JavaScript.

We'll be going back to update Head First HTML and CSS with some of the new HTML5 structure elements, like section, article, nav, and so on, and with some CSS3 properties. We wanted to keep Head First HTML and CSS focused on elements and CSS and web page structure, and focus Head First HTML5 Programming on building web applications. So the two books work well as a series to take you from learning HTML from scratch all the way through building web apps. Make sense?

Elisabeth
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Elisabeth, now I know why there isn't much of CSS (or none of it?) covered in the HTML5 book. Actually this makes a lot of sense.
 
Jedeka Ionut
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Elisabeth Robson wrote:Head First HTML5 Programming is primarily about programming web applications, so much of the book focuses on JavaScript. The book assumes you've read Head First HTML and CSS and understand the basics of HTML and CSS.
...

The confusion about how to use HF HTML5 appeared because on Amazon the "HF HTML5" appears to be the second version of "HF HTML and CSS". Otherwise, it makes sense a lot to use this 2 great books together.
 
Elisabeth Robson
author
Ranch Hand
Posts: 173
6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And I just noticed that Amazon's already got a placeholder for the 2nd ed of Head First HTML with CSS with the wrong title! Argh! Amazon gets things wrong a lot :-)
 
Ryan Sykes
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Elisabeth Robson wrote:And I just noticed that Amazon's already got a placeholder for the 2nd ed of Head First HTML with CSS with the wrong title! Argh! Amazon gets things wrong a lot :-)

Elisabeth, is there an ETA on the 2nd Edition at the moment? I'm planning on eventually reading both books, but I'll probably hold off till after the 2nd edition is out. Thanks!
 
Elisabeth Robson
author
Ranch Hand
Posts: 173
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're hoping to finish the updates in May, which means a June/July availability time frame.

Thanks!!
 
Ryan Sykes
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great to know! Thanks for the prompt reply and good luck with all the updates. I'll look forward to the release of the 2nd edition.

Best wishes
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic