In the context of a web browser, a frame is a part of a web page or browser window which displays content independent of its container, with the ability to load content independently. The HTML or media elements in a frame may come from a web site distinct from the site providing the enclosing content. This practice, known as framing, is today often regarded as a violation of same-origin policy. In HTML, a frameset is a group of named frames to which web pages and media can be directed; an iframe provides for a frame to be placed inside the body of a document. Since the early 2000s, concern for usability and accessibility has motivated diminished use of framesets and the HTML5 standard does not support them. Tags and attributes The frames in HTML are created using the tag pair. The <frameset> tag is a container tag for all other tags that are used to create frames. The <frameset> tag replaces the <body> tag in frameset documents.The <frameset> tag defines how to divide the window into frames. Each frameset defines a set of rows or columns. If user define frames by using the rows attribute then horizontal frames are created. If user define frames by using cols then vertical frames are created. The <noframes> element may be included so web browsers with frames disabled (or browsers that do not support frames) can display something to the user, as in this example: <frameset cols="85%, 15%"> <frame src="http://www.example.com/frame_1.html" name="frame_1"> <frame src="http://alt.example.com/frame_2.html" name="frame_2"> <noframes> Your browser does not support frames. <a href="http://www.example.com/frame_1.html">Click here</a> to view frame 1. <a href="http://alt.example.com/frame_2.html">Click here</a> for frame 2. </noframes> </frameset> Framesets have a border attribute. If set to an integer greater than 0, the user can resize the frames by dragging this border, unless a noresize attribute is present in a frame element. If border is set to 0, no border will be displayed and content in different frames will abut each other without delineation. The iframe element is used inline within a normal HTML body, and defines the initial content and name similarly to the frame element. Any text inside an tag pair will be displayed in browsers that do not understand the iframe tag. <iframe src="http://www.example.com/frame_1.html" height="480" width="640"> Your browser does not support iframes. <a href="http://www.example.com/frame_1.html">Click here</a> to view the content. </iframe> History Netscape Navigator 2.0 introduced the elements used for frames in March 1996. Other