Pr.Pg Next Pg

<NOFRAME>..</NOFRAME> tag tutorials

  • The <NOFRAMES> tag is a fallback tag for browsers that do not support frames. 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.

  • The <NOFRAMES> element goes inside the <FRAMESET> element.

  • Attributes of <NOFRAME> tag are below:

 

Sr No

Attributes

Descriptions

1

Class

This attribute specifies a class name for an element for CSS.

2

ID

This attribute specifies a unique id for an element.

3

Style

This attribute specifies an inline style for an element.

4

Title

This attribute specifies extra information about an element.

5

Dir

This attribute specifies the text direction for the content in an element.

 

Syntax:

<body>

<freamset>

<frame>

<frame>

<noframe>

</noframe>

</freamset>

</body>


 

Example: HTML program to demonstrate frame and if your browser don’t support frame then show the appropriate error message

Output:

Note: If any browse do not support the Frame then it will show message as Sorry, your browser does not handle framset! in red color font.

Pr.Pg border                                              Next Pg