HTML noframes Tag

HTML <noframes>Tag: The HTML noframes tag is defined as a fall-back tag for the browsers. It doesn’t support frames. And it can contain all the HTML elements that you can find inside the <body> element of a normal HTML page. The <noframes> element can be used to link to a non-frameset version of the web site or to display a message to users that frames are required. And the <noframes> element goes inside the <frameset> element.

HTML<noframes>Tag

In case if you want to validate a page containing frames, be sure the <!DOCTYPE> is set to either “HTML Frameset DTD” or “XHTML Frameset DTD”. And this tag is not supported in HTML5.

Syntax: <noframes> Text </noframes>



Browser compatibility

The HTML noframes tag is supported by different types of browsers.

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer

Example:

<!DOCTYPE html>
<html>
<frameset cols="25%,50%,25%">
  <frame src="frame_a.htm">
  <frame src="frame_b.htm">
  <frame src="frame_c.htm">
  <noframes>Sorry, your browser does not handle frames!</noframes>
</frameset>
</html>

Output:

HTML noframes tag