defines a frame


<frame src="">

Browser
Internet Explorer Firefox Opera

The FRAME element defines a frame.

This element is placed inside the FRAMESET element.


<frame src="example.html">


Attribute Value Explanation
src=" " URL the URL of the page to display in the frame

Example

Vertical frames

<html>
<head>
<title>TAG index</title>
</head>

<frameset cols="200,*">
<frame src="example_a.html">
<frame src="example_d.html">

<noframes>
<body>
<p>Alternate content</p>
</body>
</noframes>

</frameset>

</html>
Output

Horizontal frames

<html>
<head>
<title>TAG index</title>
</head>

<frameset rows="100,*">
<frame src="example_a.html">
<frame src="example_d.html">

<noframes>
<body>
<p>Alternate content</p>
</body>
</noframes>

</frameset>

</html>
Output