chrome:差异页面源和检查元素? [英] chrome: difference page source and inspect element?

查看:259
本文介绍了chrome:差异页面源和检查元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

'view page source'中的html与Chrome 15中的inspect元素有什么区别?看起来像2个不同的HTML?

what is the difference between the html in 'view page source' and inspect element in Chrome 15? looks like 2 different html?

推荐答案

视图页面源页面显示服务器返回的确切文本。 Inspect元素实际上向您显示完全呈现的 DOM树

The view page source page shows you the exact text that was returned by the server. Inspect element actually shows you the fully rendered DOM tree.

每个浏览器的DOM树略有不同,具体取决于具体的特性和功能支持。

The DOM tree is slightly different for each browser, depending on the specific quirks and support of features.

这篇关于chrome:差异页面源和检查元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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