编辑下面的代码:【加编码】
<html> <body> <iframe id="myframe" src="http://ziqiangxuetang.com" longdesc="w3s.txt"> <p>Your browser does not support iframes.</p> </iframe> <p>The URL of the long description is: <script> document.write(document.getElementById("myframe").longDesc); </script> </p><p> </p></body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂