HTML <noembed> Tag

The <noembed> element was an obsolete, non-standard way to supply fallback content for browsers that did not support <embed> (or could not handle the embedded type).

Learn it only to recognize legacy pages. For new work, put fallback content inside <object>, or use <video> / <audio> with nested fallback text.

Deprecated / Obsolete.

Do not use <noembed> in new HTML. It was deprecated in favor of fallback content between <object> tags. The HTML Standard lists it as non-conforming.

Modern replacement.

Need fallback with an embed-like resource? Prefer <object> and nest a link, image, or message between its tags. Prefer native <video> / <audio> for media.

HTML Syntax

syntax.html
<embed …> <noembed>fallback</noembed>

Historical pattern: void <embed> plus a sibling <noembed>. Modern equivalent: <object data="…">fallback</object> (or media elements with nested fallback).

Attributes

<noembed> has no element-specific attributes. Prefer these modern approaches:

ApproachDescriptionTry it
(none on noembed)Legacy fallback wrapper only — study, do not shipTry it
<object> childrenCorrect today — nested HTML shows if the object cannot loadTry it
<video> / <audio>Native media with nested fallback text and download linksTry it

Global Attributes

The <noembed> tag also supports the Global Attributes in HTML (legacy recognition only — do not ship new markup).

Live Preview

Compare the modern fallback idea (content inside <object>) with a note that <noembed> is obsolete.

A real <object> with nested fallback. Prefer this pattern over <noembed>.

Preview

Fallback: open the image.

object with nested fallback

HTML Examples

Short, copy-ready snippets. Prefer the modern examples. Use Try It Yourself for a live editor.

Example 1 — Legacy <embed> + <noembed>

Historical pattern only. Do not use in new pages.

HTML
<!-- Obsolete pattern — study only -->
<embed src="/images/javascript.png" type="image/png" width="128" height="128">
<noembed>
  <p>Download the <a href="/images/javascript.png">image</a>.</p>
</noembed>
Try It Yourself

How It Works

  1. Place a void <embed> for the resource.
  2. Add sibling <noembed> with alternative HTML (legacy idea).
  3. Old browsers that lacked embed might show the noembed children.
  4. Do not ship this — migrate to <object> or media elements.

Example 2 — Fallback Inside <object>

Nested content is the standard way to offer an alternative when the object fails.

HTML
<object
  data="/images/javascript.png"
  type="image/png"
  width="128"
  height="128"
>
  <p>
    Fallback:
    <a href="/images/javascript.png">open the image</a>.
  </p>
</object>
Try It Yourself

How It Works

  1. Use <object> with data (and usually type).
  2. Put fallback HTML between the tags (link, message, or nested media).
  3. If the resource loads, browsers show the object; otherwise they can use the children.
  4. This replaces noembed without non-standard markup.

Example 3 — Fallback Inside <video>

For movies, prefer native video with nested text and a download link.

HTML
<video controls width="320">
  <source src="/media/sample.mp4" type="video/mp4">
  <p>
    Your browser does not support video.
    <a href="/media/sample.mp4">Download the file</a>.
  </p>
</video>
Try It Yourself

How It Works

  1. Open <video> (or <audio>) with controls when useful.
  2. List <source> files the browser can try.
  3. Nest fallback text for clients without media support.
  4. Skip embed + noembed for ordinary audio/video.

Edge Cases & Pitfalls

void

embed cannot wrap children

<embed> is void. That is why noembed existed — and why <object> is better when fallback matters.

obsolete

Copying old tutorials

Many outdated samples still show embed + noembed. Replace them before shipping.

visibility

Fallback may never show

When embed works, noembed content is usually hidden. Do not rely on it for critical messages.

media

Prefer video / audio

Native media elements have clearer APIs, accessibility hooks, and nested fallback than plugin-style embed.

iframe

Documents & apps

For another HTML page, use <iframe> with a clear title — not noembed.

a11y

Always offer a real alternative

A download link or transcript beats empty fallback. Keep alternatives usable outside the embed.

Browser Support

The <noembed> element is obsolete / non-standard HTML. It is not recommended for authors and is not a Node.js, Deno, or Bun API.

✓ Obsolete · Use object / media

<noembed>

Deprecated in favor of object fallback content. Some engines may still parse it for legacy pages, but authors must not use it in new HTML.

0% Authoring use (new pages)
Google Chrome Legacy only
Obsolete
Mozilla Firefox Legacy only
Obsolete
Apple Safari Legacy only
Obsolete
Microsoft Edge Legacy only
Obsolete
Opera Legacy only
Obsolete
Samsung Internet Legacy only
Obsolete
Internet Explorer Legacy
Obsolete
<noembed> Do not use

Bottom line: Recognize it in old documents. Ship object, video, or audio with nested fallback instead.

Key Takeaways

  • Fact: <noembed> is an obsolete fallback for <embed>.
  • Replace: nest fallback inside <object> (or use video/audio).
  • Why: embed is void and cannot hold children; object can.
  • Practice: always include a usable alternative (link or download).

One line: skip <noembed> — put fallback content inside <object> or native media tags.

Default CSS Settings

There is no useful authoring stylesheet for <noembed>. Treat it as obsolete markup with no layout role in modern CSS.

default.css
/* No standard UA rules for noembed.
   Prefer styling fallback content inside object / video / audio. */

Style the nested fallback (paragraphs, links, images) — not a non-standard wrapper.

Frequently Asked Questions

noembed held alternative content for browsers that did not support embed or could not play the embedded type. Authors placed it next to an embed element.
No. It is obsolete and non-standard. Do not use it in new pages. Prefer object with nested fallback, or native media elements.
Put fallback content between the opening and closing tags of object. For media, use video or audio with nested fallback text and a download link. The HTML Standard also says to use object instead of embed when you need fallback.
No. embed is a void element — it has no end tag and cannot wrap fallback children. That is why noembed existed historically, and why object is better when fallback matters.
Usually not when embed works. Fallback patterns that rely on noembed are unreliable today. Use conforming object or media fallbacks instead.
No. noscript is for when scripting is off. noframes was for frameset fallback. noembed was specifically for embed fallback and is obsolete.

Next: noframes

Continue with the HTML noframes tag tutorial.

noframes tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

10 people found this page helpful