HTML <noframes> Definition, Usage and Examples

The <noframes> HTML Tag serves as a fallback for browsers that do not support frames. This tag can include any element that can be placed in the <body> HTML Tag. It’s used to make a link with the non-frame set version of any website where you want to show a message to the user. HTML5 does not support the <noframes> tag. The <noframes> HTML Tag is part of the Frames HTML category in HTML Element Reference. The attribute of the <noframes> HTML Tag is global attributes. 

<noframes> code block example to learn how it works is given below. 

<noframes> ...Statement for the subscriber...</noframes>

The second example usage of the “<noframes>” code block example is given below. 

<html>
<head>
    <title>Noframes HTML Tag</title>
   </head>
  <frameset cols="30%, 30%, 30%, 30%">
    <frame src="1st_frame.htm" />
    <frame src="2nd_frame.htm" />
    <frame src="3rd_frame.htm" />
    <frame src="4th_frame.htm" />
    <noframes>
        Unfortunately, your browser does not support frames. 
    </noframes>   
</frameset>  
</html>

What is <noframes> HTML Tag?

The <noframes> HTML Tag can contain any HTML tags that are allowed within an HTML document’s body, with the exception of the <frameset> and <frame> HTML Tag because using frames when they aren’t supported makes no sense. The <noframes> HTML Tag can be used to display a message informing the user that their browser does not support frames, but it should ideally be used to display an alternate version of the site that does not use frames but still provides the same or similar functionality.

How to Use <noframes> HTML Tag?

To use <noframes> HTML Tag, The web developer should write <noframes></noframes> with statement inserted for the user between start and end tags. Note that the <noframes> HTML Tag is nestled within the <frameset> HTML Tag.

Example Usage of <noframes> HTML Tag?

The following example of usage of <noframes> HTML Tag is given below.

<frameset cols="30%,30%">
  <frame src="Frame_1.htm" />
  <frame src="Frame_2.htm" />
  <noframes><p>It appears that your browser does not support frames. </p></noframes>
</frameset>

What are the Attributes of <noframes> HTML Tag?

There is only one attribute that supports <noframes> HTML Tag which is the global attributes. All HTML elements, even those not specified in the standard, can have global attributes. This means that any non-standard elements must nevertheless allow certain characteristics, even if using such elements makes the content non-HTML5 compliant.

What are the Default CSS Settings for <noframes> HTML Tag?

 The following is the Default CSS Setting for the <noframes> HTML Tag.

frame {
            text-align: center;
        }

What are the Related other HTML Tags to <noframes>?

The other related HTML Tags to <noframes> HTML Tag are listed below.

  • <frame> HTML Tag: The <frame> HTML Tag is related to <noframes> HTML Tag because they are both frame tags. The <frame> HTML Tag designates a specific area or window within a parent web page for other HTML web pages.
  • <frameset> HTML Tag: The <frameset> HTML Tag is related to <noframes> HTML Tag because they are both frame tags. The <frameset> HTML Tag specifies a number of frames that are used to embed web pages within the main web page using the frame tag.
  • <iframe> HTML Tag: The <iframe> HTML Tag is related to <noframes> HTML Tag because they are both frame tags. The <iframe> HTML Tag denotes an inline frame. It is used to incorporate other HTML documents or third-party content into the current web page, such as media files or applets.
Holistic SEO
Follow SEO

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.