|
Change Language:
How to create frames in HTML
How to create frames in HTML?
Creating frames in HTML is much easy. You have to type the following codes in HTML page.
<html>
<head> <title>HTML lessons</title> </head>
<frameset rows = "25%, *"> <noframe> Your browser doesn't support framing. That's why you are watching this message. Please upgrade your browser. </noframe> <frame src ="file1.html" />
<frameset cols="25%, *"> <frame src ="file2.html" /> <frame src ="http://gmail.com" /> </frameset>
</frameset>
</html>
Note: There is no <body> tag in this document. There is no need of body tag.
Codes above are complete example of using frameset. You can use <noscript> tag for users who are not using frame supported browser. You can set them a specific message.
See Also or Related Articles:
|