VRML is mainly to help realize the three-dimensional animation effect, and solve User interaction problem based on the three dimensional object in the homepage. VRML can provide the three dimensional virtual scene which allows the user to participate in and to control interactively, and improves the insufficiency of network courseware which only has the static picture and the traditional three-dimensional animation that makes interactive control in the distance learning impossible. The paper describes the methods to create three-dimensional scene using VRML technology and to achieve real-time interactive features of scenes with an application example, and it gives a key part of code.