Editorial / Best Answer
suji
iframe is used for creating an inline or floating frame. As most of know frames are mainly used to structure the page or for placing a menu bar on the side and so on. But iframe is used in a different context. That is in other words <iframe> is used to embed or insert content on a page of padding. This is done for several reasons. Say the content may be large enough that the user may wish to place it separately and scroll through it. There are many attributes present in <iframe> and some of the attributes used with <iframe> are namely:
NAME:
Used for specifying the name of the frame.
SCROLL:
Used for specifying the scrolling action to be activated. Can take three values namely AUTO, YES or NO. AUTO will allow the browser to take the decision and activate scroll bar when needed YES specify scroll bar is needed and NO specifies scroll bar is not needed.
ALIGN:
This is used for alignment of text and the values that can be taken by it are namely LEFT, RIGHT, TOP, MIDDLE, and BOTTOM.
FRAMEBORDER:
Used for setting borders, around the frames if needed. A value of 1 set the border around the frame and 0 specify for no border.
HEIGHT:
Used to specify the height of the frame and this value is mentioned in pixels.
HSPACE:
Used for specifying horizontal spacing around the frames.
What is meant by iframe?
Profile Answers by GeekAdmin Questions by GeekAdmin
Questions by GeekAdmin answers by GeekAdmin
Editorial / Best Answer
sujiProfile Answers by suji Questions by suji
iframe is used for creating an inline or floating frame. As most of know frames are mainly used to structure the page or for placing a menu bar on the side and so on. But iframe is used in a different context. That is in other words <iframe> is used to embed or insert content on a page of padding. This is done for several reasons. Say the content may be large enough that the user may wish to place it separately and scroll through it. There are many attributes present in <iframe> and some of the attributes used with <iframe> are namely:
NAME:
Used for specifying the name of the frame.
SCROLL:
Used for specifying the scrolling action to be activated. Can take three values namely AUTO, YES or NO. AUTO will allow the browser to take the decision and activate scroll bar when needed YES specify scroll bar is needed and NO specifies scroll bar is not needed.
ALIGN:
This is used for alignment of text and the values that can be taken by it are namely LEFT, RIGHT, TOP, MIDDLE, and BOTTOM.
FRAMEBORDER:
Used for setting borders, around the frames if needed. A value of 1 set the border around the frame and 0 specify for no border.
HEIGHT:
Used to specify the height of the frame and this value is mentioned in pixels.
HSPACE:
Used for specifying horizontal spacing around the frames.
Related Answered Questions
Related Open Questions