How to create an inline frame using HTML5 ? Last Updated : 05 May, 2025 Comments Improve Suggest changes Like Article Like Report In this article, we will create an inline iframe by using a <iframe> tag in a document. It represents a fixed rectangular area within the document in which the browser can display a separate document along with scroll bars and borders. Inline frames are used to embed another document within the current HTML page. Syntax :<iframe src="URL"></iframe>Example: html <!DOCTYPE html> <html> <head> <title> How to create an inline frame using HTML5? </title> </head> <body> <h2>Hlo GeeksForGeeks</h2> <h2> How to create an inline frame using HTML5? </h2> <p>Content goes here</p> <iframe src= "https://www.geeksforgeeks.org/community/" height="300" width="400"> </iframe> </body> </html> Example 2: html <!DOCTYPE html> <html> <head> <title> How to create an inline frame using HTML5? </title> </head> <body> <h2>Hlo GeeksForGeeks</h2> <h2> How to create an inline frame using HTML5? </h2> <iframe height="300" width="350" src=" https://media.geeksforgeeks.org/wp-content/cdn-uploads/20190717121605/Screenshot-from-2019-07-17-12-12-55.png" name="iframe_a"></iframe> </body> </html> Supported Browser are listed below:Google ChromeInternet ExplorerFirefoxOperaSafari Comment More infoAdvertise with us Next Article How to create an inline frame using HTML5 ? M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML5 Similar Reads How to Create Frames in HTML? Frames in HTML allow you to divide a browser window into multiple sections, where each section can load a different HTML document. This technique was once popular for creating complex layouts, but it is now considered outdated due to several limitations and accessibility issues.What are Frames in HT 2 min read How to create table cell using HTML5 ? In this article, we will create cell in a table by using a combination of <tr> and <td> tag in a HTML table. Syntax: <table> <tr> <td> . . . </td> <td> . . . </td> </tr> </table> Example: html <!DOCTYPE html> <html> <head> 1 min read How to create Non-Rectangular Header using HTML & CSS ? In this article, we are going to create a Non-Rectangular-header using the basics of HTML and CSS. Approach: Create a header using <header> tag.Create a div for adding the content for the header.Use clip-path() function to give a particular shape to the header. HTML Code: Create an HTML file ( 1 min read How To Create A Box in HTML? In HTML, you can create a "box" using several techniques, such as using <div> elements and styling them with CSS. These boxes can be used for various purposes, such as creating layouts, buttons, or sections within a webpage.Method 1. Div Element with CSSThe <div> element is a block-level 3 min read How to divide an HTML page into four parts using frames ? This article shows how to divide a page into four parts using HTML frames. This can be used to represent the header, sidebar, footer, and main content. The frames are created using the <frame> tag. We will have to use four HTML files for each of the portions.Syntax<frameset> // frame ele 2 min read How to create a dialog box or window in HTML ? In this article, we will create a dialog box or window using the <dialog> tag in the document. This tag is used to create popup dialog and models on a web page. This tag is new in HTML5. Syntax: <dialog open> Contents... </dialog> Example 1: html <!DOCTYPE html> <html> 1 min read How to Create an Image Element using JavaScript? Creating an image element dynamically using JavaScript is a useful technique when you want to add images to a webpage without having to manually write the <img> tag in your HTML. This allows for more flexibility, as we can create and manipulate images based on user interactions or other condit 2 min read How to include frameset inside another frameset in HTML ? The frameset is the collection of frames in the browser window. It is used to specify the number of rows and columns in a frameset with their pixels of space. There are some real-world applications of frameset like while making the website for any purpose, the developer first makes the design of the 2 min read How to use complete horizontal line space in HTML ? In this article, we will create a complete horizontal line space using HTML. To create the horizontal line space, we will use the <hr> tag. The <hr> tag stands for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document s 2 min read How to add horizontal line in HTML ? Creating a visually appealing and well-structured webpage often involves the use of horizontal lines. These lines help separate different sections of content, making it easier for users to read and understand the information presented. In this guide, weâll explore two effective methods to add horizo 2 min read Like