DONATE  
MENU
PHP
HTML
JAVASCRIPT
CSS
MYSQL
AJAX
JSON

HTML Tutorials

INTRODUCTION

» Introduction to HTML

» PRACTICE IT Editor

» Getting Started

» HTML Example

» HTML Tags

» HTML Elements

» Nesting Tags

» Block & Inline Elements

» HTML Attributes

» HTML Comments

» File Paths

» HTML Entities & Symbols

TAGS/ELEMENTS

» Important Tags

» HTML Headings

» Text Formatting

» HTML Links

» HTML Lists

» HTML Tables

» HTML Images

» HTML Audios

» HTML Videos

» HTML Iframes

» HTML Styles

» HTML Scripts

» Semantic Elements

» HTML Metadata

ATTRIBUTES

» Elements' ID

» Elements' Class

» Elements' Style

» Element's Align

» Element's Height & Width

HTML FORMS

» HTML Forms

» Input Elements

» HTML Textarea

» HTML Select

HTML EXAMPLE

» Login Page

.. » HTML » Tags/elements » HTML Iframes
Share Tweet WhatsApp

HTML Iframes

HTML iframe elements helps us to display other webpages in a webpage. It is just like having a mini browser inside a webpage or another webpage inside a webpage. An iframe can be defined using the <iframe> tag.
<iframe></iframe>
To load a URL in an iframe element, we use the src attribute whose value is a path to the webpage to load. The path may be absolute e.g a full URL like google.com or relative e.g index.html. EXAMPLE
<iframe src="http://www.stackbeginner.com"></iframe>

Copy PRACTICE IT

The <iframe> element is an inline - block element. This means, it can be display along other elements while you can also adjust its width. SUMMARY
  1. The <iframe> tag allows you to create a box element where another webpage contents can be view.
  2. To specify a URL to load, you make use of the src attribute whose value should be the URL.
  3. iframe elements are inline - block.
Take a short quiz on HTML Iframes.
Ask a question or tell us if HTML Iframes is easy or not.
cent?

Join our 1,090 subscribers to receive tutorials' updates!

  We won't spam your mail box. We hate it.





StackBeginner 2021 © Joseph Omamode