![]() |
SSW Link Auditor Rules Samples - Do not use codebase or classid in Object tag |
Samples > Rules > Rule No Classid in Object Tag
As per rule Do you use the "type" attribute in <object> tags?, the following are bad and good samples:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="120" height="120" id="Untitled-1" align="middle"> </object>
Bad - It is using the "CodeBase" and "ClassID" attributes
<object type="application/x-shockwave-flash" width="120" height="120" id="Object1" align="middle"> </object>
Good - It is using the "type" attribute