HTML <noframes> tag tag (Not supported in HTML5)

HTML <noframes> tag is used to contain an alternative text to display if the browser does not support the <frame> content. It will only work, if the browser does not support the frame else, it will be ignored by the browser.

The <noframes> tag should be used within <frameset> element.

Note: Do not use <noframes> as it is deprecated and currently not supported by HTML5.

Syntax

<noframes>........</noframes>  

Following are some specifications about the HTML <noframes> tag

DisplayBlock
Start tag/End tagBoth Start and End tag
UsageWith Frames

Example

<!DOCTYPE html>    

<html>    

<head>    

    <title>Noframe tag</title>    

</head>    

    <frameset cols="50%,50%">    

    <frame src="https://www.javatpoint.com/html-table">    

    <frame src="https://www.javatpoint.com/css-table">  

    <noframes>Sorry! Your browser does not support frames. </noframes>      

   </frameset>    

</html>

Attribute:

Tag-specific attributes:

The <noframes > tag does not contain any specific attribute in HTML.

Global attribute:

The <noframes> tag only supports the global attributes in HTML.

Event attribute:

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<noframes>YesYesYesYesYes

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *