Is the HTML shown via 'View Source' different from the HTML shown in (Firebug) developer tools?

前端 未结 4 600
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 16:48

I\'m using Firefox alongside Firebug Developer tools.

Is the HTML shown in View Source (Ctrl + U) different from the HTML I see when inspecting elements

4条回答
  •  情书的邮戳
    2020-11-27 17:14

    It should also be noted that aside from the dynamic DOM manipulation which could be occurring via javascript etc, Firefox will also parse and "clean-up" malformed (X)HTML, so these changes will also affect what you see when inspecting an element.

提交回复
热议问题