HTML stands for hyper text markup language which is generally used to create web pages. While creating web pages formation of frames is also a vital part to know. Basically, a framed document divides a browser window into multiple panes or smaller window frames. Each frame can contain a different document. The benefit of making frames are user can view information in one frame while keeping another frame open for reference instead of moving back and forth between pages. The contents of one frame can be manipulated or linked to the contents of other. This enables the web page designer to build sophisticated interfaces.

Steps

  1. 1
    Know what it is. The floating frame is used to create an inline framed region or window that acts similarly to any other embedded object insofar as text can be flowed around it.
  2. 2
    Define it. With in the<body> of an HTML element an inline frame is defined by the iframe element.
  3. 3
    To create an<iframe> tag the major attributes required is src,height and width.
  4. 4
    The Src is set to the URL of the file to load while the height and width are set either to the pixel or percentage value of the screen that the floating frame region should consume.
  5. 5
    Floating frames also supports the align attribute for basic positioning within the flow of the text like the tag.
  6. 6
    The <iframe> element also supports the marginheight and marginwidth attributes to control the margins on framed content.

Community Q&A

  • Question
    Can I place the frame in a position of my choice?
    Community Answer
    Community Answer
    Yes, as long as it doesn't lag.

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 12 people, some anonymous, worked to edit and improve it over time. This article has been viewed 29,192 times.
How helpful is this?
Co-authors: 12
Updated: May 6, 2021
Views: 29,192
Categories: HTML