The HTML Elements reference.

"frame" - html element

  • This element defines a frame, which is a rectangular subspace within a Frameset document.
  • Starttag <frame> is Required and endtag </frame> is forbidden
  • Each FRAME must be contained within a 'frameset' that defines the dimensions of the frame.
  • The SRC attribute provides the URI of the frame's content, which is typically an HTML document.
  • Browsers that support the frame - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "frame" example:
<!DOCTYPE html >
<html>
<head>
<title>A simple frameset document</title>
</head>
<frameset cols="25%, 75%">
  <frameset rows="200, 200">
      <frame src="a.html" >
      <frame src="object_classid.html" >
  </frameset>
 <frame name="mainframe" src="http://www.bing.com">
  <noframes>
      <p>Browser cannot handle frameset </p>
  </noframes>
</frameset>
</html>


Attributes:
class , frameborder (Initial: 1), id , longdesc , marginheight , marginwidth , name , noresize , scrolling (Initial: auto), src , style , title

Attribute "class" value(s): A list of style class names that must be separated by white space characters.
  • This attribute assigns a style class name or set of style class names to an element. Any number of elements may be assigned the same class name or names.
  • You will find more about this in the CSS learning on this site.



© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.