w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

HTML DOM Frame and IFrame Objects

« Previous Next Reference »

Frame Object

The Frame object represents an HTML frame.

The <frame> tag defines one particular window (frame) within a frameset.

For each <frame> tag in an HTML document, a Frame object is created.


IFrame Object

The IFrame object represents an HTML inline frame.

The <iframe> tag defines an inline frame that contains another document.

For each <iframe> tag in an HTML document, an IFrame object is created.


Frame/IFrame Object Properties

W3C: W3C Standard.

Property Description W3C
align Sets or returns the value of the align attribute in an iframe Yes
contentDocument Returns the document object generated by a frame/iframe Yes
contentWindow Returns the window object generated by a frame/iframe No
frameBorder Sets or returns the value of the frameborder attribute in a frame/iframe Yes
height Sets or returns the value of the height attribute in an iframe Yes
longDesc Sets or returns the value of the longdesc attribute in a frame/iframe Yes
marginHeight Sets or returns the value of the marginheight attribute in a frame/iframe Yes
marginWidth Sets or returns the value of the marginwidth attribute in a frame/iframe Yes
name Sets or returns the value of the name attribute in a frame/iframe Yes
noResize Sets or returns the value of the noresize attribute in a frame Yes
scrolling Sets or returns the value of the scrolling attribute in a frame/iframe Yes
src Sets or returns the value of the src attribute in a frame/iframe Yes
width Sets or returns the value of the width attribute in an iframe Yes

Frame/IFrame Object Events

Event Description W3C
onload Script to be run immediately after a frame/iframe is loaded Yes

Standard Properties, Methods, and Events

The Frame and IFrame objects also support the standard properties, methods, and events.


« Previous Next Reference »


Altova® MissionKit® - Integrated Suite of XML Tools

Altova MissionKit

The Altova MissionKit is an integrated suite of tools ideal for:

  • XML development
  • Web & Web services development
  • Data mapping & integration
  • Rendering & publishing XML & database data
  • XBRL validation, taxonomy editing, transformation & rendering

The MissionKit for XML Developers includes XMLSpy® - the industry-leading XML editor; MapForce® - a graphical data mapping, conversion, and integration tool; StyleVision® - a visual XSLT stylesheet designer; DiffDog® - an XML-aware diff/merge tool; and 2 additional tools.

Try all 6 products free for 30 days!

Download a fully-functional free trial

  Altova Missionkit


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Cheap UK Web Hosting
WEB BUILDING
Download XML Editor
FREE Flash Website
FREE Web Templates
SEO Company
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
SHARE THIS PAGE