HTML Old School

HTML Frames

Frames are used to divide your browser window into many independant windows. Each window loads HTML document separatelly.

For example we can separate browser's window in left and right parts. Then in left put menu with links and on place content.

Althought HTML Frames are not HTML5 standard almost all browsers still support HTML frames.

 

Introduction

There are 2 types of HTML documents:

  1. body document
  2. frameset document
body dokument frameset dokument
<html>
<head>
<title></title>
</head>
<body>

</body>
</html>
		
<html>
<head>
<title></title>
</head>
<frameset>

</frameset>
</html>
		

 

 <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=windows-1250">
<title>FRAMESET basic example</title>
</head>
  <frameset cols="200,*">
    <frame  src="doc_a.html">
    <frame  src="doc_b.html">
  </frameset>
</html>

 Example: 02osnovno.htm