Form
<iframe> ... </iframe>
Attributes
attribute |
default |
description |
id |
none |
specifies the unique ID |
class |
none |
specifies the style class sheet |
style |
none |
specifies the style sheet |
name |
none |
specifies the frame name |
src |
none |
specifies the URL of the document to be displayed in the inline frame |
frameborder |
none |
specifies whether or not to display frame borders |
marginwidth |
browser dependency |
specifies the left and right margins |
marginheight |
browser dependency |
specifies the top and bottom margins |
scrolling |
auto |
specifies scrollbar action (yes, no, auto) |
align |
none |
specifies the alignment |
width |
none |
specifies the width |
height |
none |
specifies the height |
Explanation
The iframe tag specifies an inline frame.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
</head>
<body>
<iframe src="contents.html">Please see with the browser complying with the inline frame.</iframe>
</body>
</html>