How to create an inline frame using HTML5 ? Last Updated : 15 Jul, 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 A Box in HTML? 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 Like