0
What is <frame> and <iframe>?whats the difference
3 odpowiedzi
+ 10
The difference is an iframe is able to "float" within content in a page, that is you can create an html page and position an iframe within it. This allows you to have a page and place another document directly in it. A frameset allows you to split the screen into different pages (horizontally and vertically) and display different documents in each part
+ 8
<frame> is used to create a layout (frame) on a page which might contain rows and columns,
while,
<iframe> is inline frame, which is used to show any webpage on our web page.
like-
<iframe src="www.google.com" width="500" height="400"></iframe>
This will show the outcome of google.com in a section of 400x500 in our web page.
0
Frame is used for dividing the web page into various frames/windows. It is classified as obsolete. They're bad for usability and accessibility.
Iframe is used to specifie an inline frame, that means it is used to embed some other document within the current HTML.