Menu Riverview Church

IFRAME

The iframe element introduces a new nested browsing context.

SYNTAX

HTML

<iframe attribute-name="attribute-value"></iframe>

ATTRIBUTES

Global

NAME VALUE DESCRIPTION
height non-negative integer Vertical dimension
name browsing-context name Valid browsing context name
sandbox sandbox allow list Instructs the UA to enable a set of extra restrictions on any content hosted by the iframe
seamless seamless | empty Instructs the UA that the iframe element's browsing context is to be rendered in a manner that makes it appear to be part of the containing document (seamlessly included in the parent document)
src URI URL for the audio stream
srcdoc iframe srcdoc Content of the page that the nested browsing context is to contain
width non-negative integer Horizontal dimension

CSS

iframe {
    border: 2px inset;
}

EXAMPLES

HEIGHT

NAME

SANDBOX

SEAMLESS

SRC

SRCDOC

SRCDOC | OVERRIDE SRC

WIDTH

CONTENT

CSS | BORDER

CSS | NO BORDER

Web Hypertext Application Technology Working Group (WHATWG)