what is the general syntax for the <noframes> tag???

Recommended Answers

All 3 Replies

that means if you are using frame tag in that some areas no need to use frames that time you will insert this tag

commented: PLease read the question through out before answering, question is what is the syntax and not what it is doing -2

The noframes element displays text for browsers that do not handle frames. The noframes element goes inside the frameset element.

If a browser handles frames, it will not display the text in the noframes element.

Important: If you add a <noframes> tag to a frameset, you will have to enclose the text in <body></body> tags!

Example:

<frameset cols = "25%, 25%,*">
  <noframes>
    <body>Your browser does not handle frames!</body>
  </noframes>
  <frame src ="venus.htm" />
  <frame src ="sun.htm" />
  <frame src ="mercur.htm" /> 
</frameset>

No Frames:
The<NOFRAMES> tag identifies a section of the HTML file that contains code to be read by frame-blind browsers. The <BODY> tags must be placed with a pair of <NOFRAMES> tags.
Syntax:

<HTML>
<HEAD>
<TITLE>(Page Title)</TITLE>
</HEAD>
<FRAMESET>
(Frame Definitions)
</FRAMESET>
<NOFRAMES>
<BODY>
(Page Layout)
</BODY>
</NOFRAMES>
</HTML>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.