What is Iframe tag in HTML and Why it is Used?:
Iframe tag in HTML used for embedding or inserting a inline frame which can contain document in a webpage. (In lower version frameset tag used for dividing browser into frames and frame tag indicates a frame. In html5 frameset and frame both tags are unsupported.)
Attributes of iframe tag are as follows:-
1. Src: this attribute specifies location of document to be displayed in inline frame.
2. Width:- width of inline frame
3. Height:- height of inline frame
4. Name: assign name to the iframe
5. Srcdoc: this attribute specifies content of html code page to show
Comments
Post a Comment