'applets' Example
<html> <body> <input type="button" value="Retrieve the number of applets in this document" onclick="alert(document.applets.length);"><br> </body> </html>