Click to See Complete Forum and Search --> : HTML object element -- classid vs data


Strogian
03-11-2004, 09:08 PM
Why are there two mutually-exclusive attributes to the OBJECT element: classid and data? They are both practically the same -- you give a URI, and the browser uses whatever is there to render something. But you can't use them both at once, and I don't see any real logic to when you use classid or data.

The only thing I've seen use "data" is a picture ... anything else? Everything else uses classid, and then (if it needs data), passes stuff in through PARAM's.