What Is a Parent Iframe?
IFRAME is an HTML tag that functions as a document in a document, or a floating frame (FRAME). The iframe element creates an inline frame (ie, an inline frame) that contains another document. [1]
iframe
The <iframe> tag specifies an inline frame. [2]
Tip: Difference between HTML and XHTML: In HTML4.1 Strict DTD and XHTML1.0 Strict DTD, iframe elements are not supported. [1]
#: New attribute in HTML5. [3]
iframe core properties
Attributes | value | description |
---|
class | classname | Specifies the class name of the element |
id | id | Specifies the specific id of an element |
style | style_definition | Specify the element's inline style |
title | text | Specifies additional information for the element (can be displayed in a tooltip) |
[4]
iframe language properties
Attributes | value | description |
---|
dir | ltr | rtl | Sets the text direction of the content in the element. |
lang | language_code | Sets the language code of the content in the element. |
xml: lang | language_ code | Sets the language code of the element content in the XHTML document. |
[4]
iframe keyboard properties
Attributes | value | description |
---|
accesskey | character | Set keyboard shortcuts for accessing elements. |
tabindex | number | Set the tab control order of the elements. |
[4]