HTML Element <frameset> Example
The HTML element <frameset>
is used to define a frameset, which is a collection of frames, each embedding a web page.
This element is not supported in HTML5 and you should avoid using it in the markup. Instead, use the <iframe>
element.
Here is an example that explains the element in action. Click the below link to see the live demo.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example - HTML Element frameset</title>
</head>
<body>
<!-- This elements frame and frameset are obsolete and not valid in HTML5, so avoid using them in your markup -->
<frameset rows="*,*">
<frame src="https://www.randomcodez.com" name="home">
<frame src="https://www.randomcodez.com/about" name="about">
</frameset>
</body>
</html>