Teaching material has recently become increasingly available on the Web. However, reading text and looking at static images is not very motivating when compared to hands-on experimenting. The latter may also provide the student with deeper understanding of the subject. Two tools for creating interactive mathemat¬ical teaching material on the Web are discussed: With the MATLAB Web Server one can create easily Web pages that call MATLAB functions and scripts. Java applets are much more time consuming to implement, but they are advantageous in e.g. simulations and other “real-time” applications. The two technologies can be used together to combine their advantages.