I just have them in the body of the page one after the other. If I do this with <object>
, I see them all. With iFrames, I only see the first one.
<iframe id="AlertMaintenance" style="border-style: none; border-color: inherit; border-width: 0px; height:1222px; width:100%;" src="AlertMaintenance.html"/>
<iframe id="DelayReason" style="border-style: none; border-color: inherit; border-width: 0px; height:1222px; width:100%;" src="DelayReason.html"/>
You have to specify a
</iframe>
closing tag. Self-closing tags (/>
) don't work.Working code:
End tags are required. See also: MDN: iFrame.
You're trying to use selfclosing tags.
Change this to:
Iframe has a closing tag:
Add em' in.