Using Scriptlets in HTML Pages

Having seen an overview of some simple uses of Scriptlets, we'll consider in more detail where and why we might use them. It is also important to realize that, because they behave in many ways like ActiveX controls, our viewers can control whether they actually appear in our pages through the options available in their browser. Firstly, however, let's look at when we should and shouldn't consider using Scriptlets.