First you need to know what kind of services/resources you want to access. You can access to few device resources with HTML5.
For example-
To access device camera you can do something like following-
<input type="file" accept="image/*" capture="camera">
For more details check the following link-
The Media Capture API[
^]
Note: try to search in google with correct keywords.
Hope, it helps :)