Nowadays, people tend to learn from the Web because it is convenient, and rich of free information. The main means of learning on the Web is by submitting a query to a search engine, and subsequently browsing through the returned results to find relevant information. Although in many cases, a search engine such as Google works quite well, the results returned are often not appropriate for the learning purpose. In this paper, we present a novel approach to automatically generate an E-textbook for a user specified topic hierarchy. Such a technology can ease the learning process to a great extent.