我有一个网站(仅供我自己参考,对公众来说没有什么有趣的。)
当我在 IE9 中加载我的页面(测试页面)并查看页面的源时 - 我可以看到预期的 HTML。
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Test Page</title>
</head>
<body>
<div id="body">
Simple test page, with an image. <br />
<img src="http://www.w3.org/2008/site/images/logo-w3c-mobile-lg" alt="WC3 logo" />
</div>
</body>
</html>
但是当我查看开发人员工具栏(按 f12)时,HTML 出现在<framset>
标签中。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Marrowbrook.com </title>
</head>
<frameset rows="100%,*" border="0">
<frame src="http://217.118.128.188/wotney//TestFiles/testpage.htm" frameborder="0" />
<frame frameborder="0" noresize />
</frameset>
<!-- pageok -->
<!-- 02 -->
<!-- ->
</html>
使用 Chrome,如果我右键单击并查看源代码,我会看到上面的<frameset>
代码,但我也可以右键单击并选择查看框架源代码,我可以在其中看到预期的 HTML。
谁能告诉我为什么我会看到这个?
谢谢。