This paper presents a composite architecture, which provides a loosely coupled environment between a hypermedia system and a knowledge based system. The new framework offers a better environment for managing an on-line information than knowledge base systems or hypermedia systems individually. It allows users to navigate through the body of information in a non-linear fashion and submit queries to the knowledge base, to find how the information affects them under certain circumstances. In particular the new system enhances the understandability of legal information by being able to present relevant information retrieved intelligently from the hypermedia document base. The strength of the framework is demonstrated by developing a prototype system in the legal domain.