Create HTML frame in HTML and CSS

Description

The following code shows how to create HTML frame.

Example


<!--from  w ww . j  a  va  2s  .c  om-->
<!DOCTYPE HTML>
<html>
<frameset cols="25%,75%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
</frameset>
</html>

Click to view the demo

The code above generates the following result.

Create HTML frame in HTML and CSS