what's the actual function of the frameset? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

what's the actual function of the frameset?

17th Jul 2017, 4:49 AM
Ganiyu Olalekan
Ganiyu Olalekan - avatar
2 Answers
+ 8
<frame> and <frameset> are deprecated in Html5, and cannot be used... they were Html4 elements only allowed in a very specific flavour of Html4, requiring a specific <!DOCTYPE> declaration... They were used to build a page with many html document inside once window/tab (so we can refresh only one frame rather than whole root document and/or embed another page inside root document. However, the <iframe> element is still available, and is more flexible, so it can be used to reproduce the <frameset> <frame> behaviour: <iframe> embed also html page inside root document, but is handle as another element container... it's a kind of float <frame>, not requiring a <frameset> parent and not requiring a specific frameset <!DOCTYPE> (but one for an html version supporting <iframe> onviously ^^)
17th Jul 2017, 8:43 AM
visph
visph - avatar
+ 6
Framset is not used anymore, so no need to worry about it.
17th Jul 2017, 5:03 AM
Farshad
Farshad - avatar