+ 1
What to use in place of frameset in HTML5
I learned that HTML5 does not support frameset, So what should inside in its place
2 Respuestas
+ 7
The <frameset> tag was used with <frame> and <noframe> ones in a specific Html4 doctype flavour:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN" "http://www.w3.org/TR/REC-html40/frameset.dtd">
<html>
<head>
<title>Document Title</title>
</head>
<frameset cols="200,*">
<frame src=sommaire.html name=sommaire>
<frame src=index0.html name=principal>
<noframe>
<body> ... </body>
</noframe>
</frameset>
</html>
So, the <frameset> tag is no more supported in Html5 (but could be used with the good suited Html4 doctype, even if it's not really recommended), and have no real strictly equivalent... However, as @ValentinHacker suggest, you could workaround with an Html5 layout including <iframe> tag(s) (wich was already existing in Html4 specifications, and is quite different from <frame>, even both have same purpose: include another Html document inside another one. But you must add specific css styling to get equivalent behaviour on <iframes> indide a <div> (or anyelse container) than on the <frameset> and <frame> html4 element ^^
+ 18
<iframe> instead of <frame> and <div> instead of <frameset>