Change Language:
USA English French Deutsch (Germen) Spanish Portugese Italian Nederlands (Dutch) Polish Russian Swidesh Arabic Korian Chinese Japanese UK English Bookmark and Share

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:

Contact Us - RSS Feed
Get Page Rank 10 - SEO Experiment

Feedback Form