有关iframe之后的文字的问题 [英] Question about text after iframe

查看:41
本文介绍了有关iframe之后的文字的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个测试html页面,我在chrome和firefox中都尝试过.

I have this test html page, I tried it in both chrome and firefox.

<html>
<body>

before iframe

<iframe width="300" height="300" src="http://www.yahoo.com"/>

after iframe

</body>
</html>

但是我看到的是我在"iframe之前"看到的文本,但看不到"iframe之后"的文本.

But what i see is I see the text 'before iframe', but I don't see the text 'after iframe'.

能否请您告诉我该如何解决?

Can you please tell how can I fix it?

谢谢.

推荐答案

iframe不是自封闭元素,请指定结束标记.

An iframe is not a self closing element, specify the end tag.

<iframe src="" width="" height=""></iframe>

这篇关于有关iframe之后的文字的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆