A preview frame starts as an empty embedded document, receives an accessible title, then renders inline srcdoc content.

Program

Iframes embed a separate document inside the current page. The title describes the frame, and srcdoc can provide inline HTML for static examples.

iframe_srcdoc_title.html
<iframe title="Schedule preview" srcdoc="&lt;h1&gt;Day 1&lt;/h1&gt;&lt;p&gt;Setup lab&lt;/p&gt;"></iframe>
iframe An iframe creates a nested browsing context inside the page.
srcdoc The srcdoc attribute supplies inline HTML for the embedded document.