Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hello! HTML5 and CSS3: Most helpful new feature in HTML5?

 
Ken Duncan
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,

I can do basic things in HTML4 and CSS. I do basic web page work, but I would like to make more interesting/helpful pages. What do you think is the valuable/helpful feature of HTML5 or CSS3? Thanks.

Ken
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the most helpful new feature of HTML5 is the clearly defined parsing and error handling. Whatever markup you're dealing with, whether valid or invalid, it is guaranteed to produce the same DOM in every browser that uses an HTML5 parser. Any script you then write for that page will be dealing with an identical tree of elements.

But really, the most helpful feature is always going to be whatever one is useful for the app you're building. HTML5 gives you a new set of tools, the tools allow you to do some things you've never been able to do before, and they allow you to do some things you've been doing for years in a much cleaner way, but it's not the tools that are important, it's what you build with them.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic