Skip to content

Support for rel attribute on iframe #8682

Open
@0xdevwrite

Description

@0xdevwrite

Should the rel attribute be valid on the iframe element? The purpose of rel is to describe the relation of a linked resource to the current document. The iframe element is essentially a link that happens to be rendered within its parent document, thus it seems reasonable that it should support the rel attribute.

Currently rel is only valid on link, a, area, and form.

For context, in a REST API, I'd like to use a custom link relation on an iframe to indicate to the client what type of resource is being referenced by the iframe.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions