A major difference between HTML 4.01 and HTML 5 is the process to find the kind of information held in a page. The previous version required lots of div elements on its pages, which could be identified with class/id attributes. On the other hand, HTML 5 offers elements such as article, which makes it possible to identify contents using common tags. This means it is easier to perform programmable processing of web pages.
In other words, HTML 5 has been designed and developed to be application friendly. The drag-and-drop API can work with all elements that are draggable. Another API enables manipulating the navigational history support of the browser. Thus, pages come with better support for the refresh and back button on the browser. This could help eliminate issues such as double billing that could result with poorly designed e-commerce websites.
HTML 5 comes with another new API that enables web apps to register with the host for handling some types of media and protocols. This can allow developers to match app support for content found in embedded devices. In the past, this needed to be done using an application that needed to interact with some network port.