Attribute | Values | Effect |
ALIGN | left right top middle bottom | Specifies the alignment (placing) of the IFRAME relative to the other elements on the page. Not supported in HTML5. The effect can be done using STYLE, which is recommended in any case. |
FRAMEBORDER | 1 0 | Specifies whether you want a border/frame on the IFRAME or not. Not supported in HTML5. The effect can be done using STYLE, which is recommended in any case. |
HEIGHT | pixels | Specifies the height of the IFRAME in px. The effect can be done using STYLE, which is recommended in any case. |
LONGDESC | URL | Specifies a page containing a longer description of the content of the IFRAME. Not supported in HTML5. Note: The content of the file being linked to is not shown anywhere in the IFRAME. |
MARGINHEIGHT | pixels | Specifies margin top and bottom for the IFRAME content. Not supported in HTML5. The effect can be done using STYLE, which is recommended in any case. |
MARGINWIDTH | pixels | Specifies margin left and right for the IFRAME content. Not supported in HTML5. The effect can be done using STYLE, which is recommended in any case. |
NAME | navn | Specifies a name for the IFRAME |
SANDBOX | allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation | Additional options for restrictions on the IFRAME content. Only HTML 5. |
SCROLLING | yes no auto | Specifies whether you want to show scrollbars or not in the IFRAME. Not supported in HTML5. The effect can be done using STYLE, which is recommended in any case. |
SRC | URL | Specifies the address for the embedded file in IFRAME. |
SRCDOC | HTML_code | Specifies HTML code to be executed in the IFRAME. Only HTML 5. Note: Content generated using SRCDOC will make content specified in SRC invisible. |
WIDTH | pixel | Specifies the width of the IFRAME in px. The effect can be done using STYLE, which is recommended in any case. |
Attribute | Values | Effect |
HEIGHT | pixels | Specifies the height of the EMBED in px. The effect can be done using STYLE, which is recommended in any case. |
SRC | URL | Specifies the address for the embedded file in EMBED. |
TYPE | media_type | Specifies the type of embedded file e.g. TYPE="application/vnd.adobe.flash-movie" if it is a Flash file. It does not appear to be mandatory to specify the common file types with this attribute. |
WIDTH | pixel | Specifies the width of the EMBED in px. The effect can be done using STYLE, which is recommended in any case. |
Attribute | Values | Effect |
ALIGN | left right top middle bottom | Specifies the alignment (placement) of the OBJECT relative to the other elements. Not supported by HTML 5. The effect can be done using STYLE, which is recommended in any case. |
ARCHIVE | URL | Link to files that needs to be uploaded along with the object to make it work right. Not supported by HTML 5. |
BORDER | pixel | Specifies whether there has to be a border/frame aounf the OBJECT by specifying a width in px. Not supported by HTML 5. The effect can be done using STYLE, which is recommended in any case. |
CLASSID | class_ID | Reference number that OBJECT needs to handle the content correctly. Either a reference to Windows Registry or a link. Not supported by HTML 5. |
CODEBASE | URL | Link to where you can find the code base for CLASSID. Not supported by HTML5. |
CODETYPE | URL | Specifies the type of embedded file, e.g. a Word file: CODETYPE="application/msword" or a Flash animation: CODETYPE="application/x-shockwave-flash". This is slightly different from TYPE, which specifies the type of embedded object. Not supported by HTML 5. |
DATA | URL | Specifies the address for the embedded file in OBJECT. |
DECLARE | declare | Specifies that the object should only be declared, not created or instantiated until needed. Not supported by HTML 5. |
FORM | form_id | Specifies the ID for forms, that the object may refer to. New in HTML 5. |
HEIGHT | pixels | Specifies the height of the OBJECT in px. The effect can be done using STYLE, which is recommended in any case. |
HSPACE | pixels | Specifies whitespace/padding to the object's left and right. Not supported by HTML 5. The effect can be done using STYLE, which is recommended in any case. |
NAME | navn | Specifies a name for the OBJECT |
STANDBY | text | Specifies a text to be shown while uploading the object. Not supported by HTML 5. |
TYPE | media_type | Specifies the type of embedded object e.g. TYPE="application/vnd.adobe.flash-movie" if it is a Flash file. It does not appear to be mandatory to specify this attribute for the common file types. |
USEMAP | #mapname | Specifies ID for maps created using the MAP tag, if you have one. Does not work for all browsers. |
VSPACE | pixels | Specifies whitespace/padding over and under the object. Not supported by HTML 5. The effect can be done using STYLE, which is recommended in any case. |
WIDTH | pixel | Specifies the width of the OBJECT in px. The effect can be done using STYLE, which is recommended in any case. |