HTML: using Object tag for Iframe

By Xah Lee. Date: . Last updated: .

HTML iframe tag is technically not supported in HTML 4.01 strict or XHTML 1.1 strict.

It works in all browsers anyway.

But if you want to be correct, you can use object tag for similar effect, like this:

<object type="text/html" data="iframe_me.html" width="200" height="200"></object>

Back to HTML: Iframe