The attributes of frameset tag are:-
cols:
This specifies how many columns are contained in the frameset and the size of each column. You can specify the width of each column in one of four ways:
rows:
This attribute works just like the cols attribute and takes the same values, but it is used to specify the rows in the frameset.
Attributes of the <frame> Tag:
src:
This attribute is used to give the name that should be loaded in the frame. Its value cane be any URL.
name:
This attribute allows you to give a name to aframe. It is used to indicate which frame a document should be loaded into.
frameborder:
this is specify if there are border in the frame,it override the value given in the frameborder attribute on the <fremeset> tag if given. this can take values either 1(for borders) or 0 (no border).
marginwidth:
Specify the width of the space between the left and right frame borders and content in it.
eg: marginwidth="10"
marginheight:
Specify the space between the top and bottom of the frame borders and its contents.
eg: marginheight="10"
noresize:
by default you can resize any frame by clicking and dragging on the borders of a frame.
scrolling:
this attribute controls the appearance of the scrollbars on the frame. this takes values either "yes", "no" or "auto'.
eg: scrolling="no" means it should not have scroll bars. Default is auto.
cols:
This specifies how many columns are contained in the frameset and the size of each column. You can specify the width of each column in one of four ways:
- Absolute values in pixels. for example to create three vertical frames, use cols="100,500,100".
- A percentage of the browser window .eg: cols="20%,60%,20%".
- Using a wildcard symbol. eg: cols="10%,*,10%".
- As relative widths of the browser window. eg: cols="3*,2*,1*"
rows:
This attribute works just like the cols attribute and takes the same values, but it is used to specify the rows in the frameset.
Attributes of the <frame> Tag:
src:
This attribute is used to give the name that should be loaded in the frame. Its value cane be any URL.
name:
This attribute allows you to give a name to aframe. It is used to indicate which frame a document should be loaded into.
frameborder:
this is specify if there are border in the frame,it override the value given in the frameborder attribute on the <fremeset> tag if given. this can take values either 1(for borders) or 0 (no border).
marginwidth:
Specify the width of the space between the left and right frame borders and content in it.
eg: marginwidth="10"
marginheight:
Specify the space between the top and bottom of the frame borders and its contents.
eg: marginheight="10"
noresize:
by default you can resize any frame by clicking and dragging on the borders of a frame.
scrolling:
this attribute controls the appearance of the scrollbars on the frame. this takes values either "yes", "no" or "auto'.
eg: scrolling="no" means it should not have scroll bars. Default is auto.
thanku sir ...
ReplyDeletefor detail explanation of frameset tag and frame tag.
Welcome sarthak
ReplyDelete