Like JavaScript and Java, ActiveX controls are also specified with an HTML tag. For ActiveX, the OBJECT tag is used to include an ActiveX control inside an HTML document. However, the OBJECT tag is a generic HTML tag that can be used to include many other types of objects in HTML documents. In order to determine if an OBJECT tag corresponds to an ActiveX control, the attributes of the tag need to be checked for the CLASSID attribute which is used by ActiveX to specify the name of the control. Thus, to remove an ActiveX control, a filter must check all OBJECT tags for the CLASSID attribute. When such a tag is found, the tag and all tokens up-to and including the /OBJECT, must be removed from the object stream.