How to create valid HTML5 using frames?

I know your class is over, but in professional coding, let this be a lesson: “Deprecated” means “avoid use; it’s going to be removed in the future” Deprecated things still work – just don’t expect support or future-proofing If the requirement requires it, and you can’t negotiate it away, just use the deprecated construct. If … Read more

Full-screen iframe with a height of 100%

You could use frameset as the previous answer states but if you are insistent on using iFrames, the 2 following examples should work: <body style=”margin:0px;padding:0px;overflow:hidden”> <iframe src=”http://www.youraddress.com” frameborder=”0″ style=”overflow:hidden;height:100%;width:100%” height=”100%” width=”100%”></iframe> </body> An alternative: <body style=”margin:0px;padding:0px;overflow:hidden”> <iframe src=”http://www.youraddress.com” frameborder=”0″ style=”overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px” height=”100%” width=”100%”></iframe> </body> To hide scrolling with 2 alternatives as shown above: <body style=”margin:0px;padding:0px;overflow:hidden”> <iframe … Read more