The standby attribute on <object> was a short loading message the browser could show while the object’s implementation and data loaded.
The HTML living standard lists it as obsolete: authors must not use it. Spec advice: optimize the linked resource so it loads quickly or, at least, incrementally. For new work use data + type and useful fallback content inside the element.
Deprecated / Obsolete.
Do not use standby in new pages. Learn it only to recognize legacy markup and migrate safely.
Syntax
HTML Syntax
syntax.html
<object standby="message" …> … </object>
Modern equivalent: omit standby. Prefer a fast resource, progressive formats, and visible fallback (or a CSS/JS loading UI).
Values
Attribute Values
Historical value and what to do today:
Value
Description
Try it
Loading… (any text)
Legacy message while the object loaded — ignored by modern UAs
Compare legacy markup with a modern form. Modern browsers ignore standby — the preview highlights what to ship instead.
markup style
Study only. Prefer the modern snippet in real projects.
Snippet
Code
HTML Examples
Short study snippets. Use Try It Yourself for a live editor. Prefer the modern patterns in production.
Example 1 — Recognize Legacy Markup
Old pages sometimes set a loading message on object. Do not copy this into new projects.
HTML
<!-- Deprecated — for study only -->
<object data="/video/count.mp4"
type="video/mp4"
width="320"
height="180"
standby="Loading media, please wait…">
Video could not be displayed.
</object>
Deprecated attribute present for recognition only — modern browsers ignore standby.
How It Works
Old intent: show text while the resource loaded.
standby was only a string hint on object.
Today: UAs ignore it; the media still loads via data/type.
Action: when you see it, plan to delete the attribute.
Example 2 — Modern Replacement
Omit standby. Keep data, type, and meaningful fallback content.
HTML
<object data="/video/count.mp4"
type="video/mp4"
width="320"
height="180">
<p>
<a href="/video/count.mp4">Download the video</a>
if it does not play here.
</p>
</object>
Spec replacement: make the linked file load quickly or incrementally — not a waiting message attribute.
fallback
Fallback ≠ standby
Content inside object is for when the resource cannot be shown, not a temporary loading toast.
Compatibility
Browser Support
standby is a legacy HTML attribute on <object>. Modern engines ignore it for authors.
✓ Deprecated · Obsolete
standby
Obsolete in the HTML living standard. Do not use in new pages. Recognize it only when reading old markup.
0%Author support (use in new code)
Google ChromeIgnored
Obsolete*
Mozilla FirefoxIgnored
Obsolete*
Apple SafariIgnored
Obsolete*
Microsoft EdgeIgnored
Obsolete*
OperaIgnored
Obsolete*
Samsung InternetIgnored
Obsolete*
Internet ExplorerLegacy only
Legacy*
standbyObsolete (do not use)
Bottom line: Do not ship standby. Prefer fast resources, object fallback content, and modern media elements (video/img) with poster or CSS/JS loading UI when needed.
Remember
Key Takeaways
Status: obsolete on <object> — omit in new code.
Old job: loading message while object data loaded.
Replace: fast/progressive resources + real fallback content.
Media UX: prefer video/img and poster when they fit.
One line:standby was a loading message on object — obsolete; delete it and optimize the resource instead.
Frequently Asked Questions
On object, standby held a short message the browser could show while the object’s implementation and data loaded.
Yes. The HTML living standard lists standby on object as obsolete. Authors must not use it. Prefer faster or progressive resources instead.
Only the object element. It was never a global attribute.
Optimize the linked resource so it loads quickly or incrementally. Provide useful fallback content inside object. For video previews use poster; for custom loading UI use CSS/JS outside obsolete attributes.
Modern browsers generally ignore it. Treat any effect as legacy-only; do not rely on it for UX.
No. Media waiting/stalled events and loading UIs are separate APIs. standby was only a legacy object attribute string.