Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2012 Google Inc.
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  * use this file except in compliance with the License. You may obtain a copy of
  * the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
package elemental.html;
import  elemental.html.*;

<frame> is an HTML element which defines a particular area in which another HTML document can be displayed. A frame should be used within a <frameset> .

Using the <frame> element is not encouraged because of certain disadvantages such as performance problems and lack of accessibility for users with screen readers. Instead of the <frame> element, <iframe>  may be preferred.

public interface FrameElement extends Element {
  void setFrameBorder(String arg);
  int getHeight();
  void setLocation(String arg);
  void setLongDesc(String arg);
  void setMarginHeight(String arg);
  void setMarginWidth(String arg);

This attribute is used to labeling frames. Without labeling all links will open in the frame that they are in.
  void setName(String arg);
  boolean isNoResize();
  void setNoResize(boolean arg);

This attribute defines existence of scrollbar. If this attribute is not used, browser put a scrollbar when necessary. There are two choices; "yes" for showing a scrollbar even when it is not necessary and "no" for do not showing a scrollbar even when it is necessary.
  void setScrolling(String arg);

This attribute is specify document which will be displayed by frame.
  void setSrc(String arg);
  int getWidth();
New to GrepCode? Check out our FAQ X