Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback content for iframe is not allowed #26313

Closed
iviWebStudio opened this issue Apr 20, 2023 · 1 comment
Closed

Fallback content for iframe is not allowed #26313

iviWebStudio opened this issue Apr 20, 2023 · 1 comment
Labels
Content:HTML Hypertext Markup Language docs Content:Learn:HTML Learning area HTML docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@iviWebStudio
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Other_embedding_technologies

What specific section or headline is this issue about?

iframes in detail

What information was incorrect, unhelpful, or incomplete?

In the article we can see the followed content:

Fallback content .
In the same way as other similar elements like , you can include fallback content between the opening and closing <iframe></iframe> tags that will appear if the browser doesn't support the <iframe>. In this case, we have included a link to the page instead. It is unlikely that you'll come across any browser that doesn't support <iframe>s these days.

But there is no any definition about this usage in w3c https://www.w3.org/TR/2010/WD-html5-20101019/the-iframe-element.html

So I think, that html iframe element can't have child element.

What did you expect to see?

Removing info about fallback from the page.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@iviWebStudio iviWebStudio added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Apr 20, 2023
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs Content:Learn:HTML Learning area HTML docs labels Apr 20, 2023
@teoli2003
Copy link
Member

That's correct, though the actual spec is there: https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-iframe-element

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:HTML Hypertext Markup Language docs Content:Learn:HTML Learning area HTML docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

2 participants