HTML Frames Examples
HTML Frames Example
<!DOCTYPE html>
<html>
<head>
<title>HTML Frames Example</title>
</head>
<body>
<p>This page is displayed in an Frames...</p>
<iframe src="/html/menu.htm">
</iframe>
<p>This page is displayed in an Frames</p>
</body>
</html>
Output
HTML Frameset Attributes Example
<!DOCTYPE html>
<html>
<head>
<title>HTML Frames Example</title>
</head>
<frameset cols = "25%,50%,25%">
<frame name = "left" src = "/html/top_frame.htm" />
<frame name = "center" src = "/html/main_frame.htm" />
<frame name = "right" src = "/html/bottom_frame.htm" />
<noframes>
<body>Your browser does not support frames.</body>
</noframes>
</frameset>
</html>
Output