HTML iFrame Generator

Options
eager: (default) Immediately loads the iframe, even if it is not inside the viewable viewport. lazy: delays the iframe's loading until it approaches a predetermined distance specified by the browser from the viewport.
no-referrer: The Referer header will not be sent. no-referrer-when-downgrade: (default) The Referer header will not be sent to origins without TLS (HTTPS). origin: The referring page's scheme, host, and port will be the only information the sending referrer may access. origin-when-cross-origin: The host, port, and scheme will be the only referrers that are forwarded to other origins. The route will remain visible in navigations on the same origin. same-origin: For requests from the same origin, a referrer will be delivered; however, cross-origin requests won't include any referrer data. strict-origin: When the protocol security level remains the same (HTTPS), just send the document's origin as the referrer; do not send it to a less secure destination (HTTP). strict-origin-when-cross-origin: For a same-origin request, transmit the entire URL; for a less secure destination (HTTP), send no header; and only provide the origin when the protocol security level remains the same. unsafe-url: The path and the origin will be included in the referrer (but not the username, password, or fragment). Because it exposes routes and origins from TLS-protected sites to untrusted origins, this value is dangerous.
If empty, width will be automatic.
If empty, height will be automatic.
Preview
Code

HTML iFrame Generator


HTML iFrame Generator is a free online tool designed to simplify the process of creating HTML code for iframes. An iframe (inline frame) is an HTML element that allows you to embed another HTML document within the current document. It is often used to display content from another source, such as a web page, video, or interactive application, within the context of the hosting page.

The purpose of an HTML iFrame Generator is to provide a user-friendly interface where users can input specific details, and the tool generates the corresponding HTML code for the iframe. Users might be able to customize various attributes of the iframe, such as:

  1. Source URL: The URL of the content to be embedded.
  2. Width and Height: The dimensions of the iframe.
  3. Border and Frame Styling: Styling options for the iframe border.
  4. Scrolling: Options for scrollbar visibility.
  5. Allowfullscreen: Whether the iframe should allow full-screen mode for embedded content.

Once users input this information, the HTML iFrame Generator produces the HTML code, which users can then copy and paste into their HTML documents.

If you need to embed content from external sources or want to create iframes with specific attributes, an HTML iFrame Generator can be a convenient tool to streamline the process and ensure that the generated code is correct and well-formed.

Popular tools