The two most important objectives for designing quality online help are:
Get the user back on task as quickly and successfully as possible.
Educate the user to prevent future need for assistance.
Applying these objectives will help you make decisions regarding what type of help is best and what amount of detail is needed.