Frame Tags

An HTML document can be divided into several frames by frame tags.

1. <frame>


<frame> tag define html document in frame.

2. <iframe>


<iframe> Inline Frame is defined by the Element in the HTML Document.

Example :


<!DOCTYPE HTML>


<html>


<head>


<title> Frame Tag Example </title>


</head>


<body>


<h1> Welcome to tutorials ug</h1>

<iframe src="http://www.tutorialsug.com" height="300" width="400"></iframe>


</body>


</html>


Output :