Attributes | Description |
---|
src | It is used to give the file name that should be located in the frame. Its value can be any URL, for example, src= “/html/abc.html” |
name | It allows to give a name to a frame. This attribute is used to indicate that a document should be loaded into a frame. |
frameborder | It specifies whether or not the borders of that frame are shown. This attribute overrides the value given in the frameborder attribute on the <frameset> tag if one is given. This can take values either 1 (Yes) or 0 (No). |
marginwidth | It allows to specify the width of the space between the left and right of the frame's border and the content. The value is given in pixels. For example; marginwidth = “10”. |
marginheight | It allows to specify the height of the space between the top and bottom of the frame's borders and its contents. The value is given in pixels. For example; marginheight = “10”. |
noresize | By default, a user can resize any frame by clicking and dragging on the borders of a frame. It prevents a user from being able to resize the frame. For example; noresize = “noresize”. |
scrolling | It controls the appearance of the scrollbars that appear on the frame. It takes values either “Yes”, “No” or “Auto”. For example; scrolling = “no” means it should not have scroll bars. |
longdesc | It allows to provide a link to another page which contains a long description of the contents of the frame. For example; longdesc = “framedescription.html” |