2.3.2.2 altHtml

altHtml of type DOMString

Returns the alternative HTML markup that would be rendered if the object failed to load.

During fallback, the object fires the onerror event to determine if the event handler can process the alternative HTML. The default action is to replace the failed object with the alternative HTML.

This DOM attribute is write-only.

This attribute extends the HTMLObjectElement interface.

Show: