K
K
kirillinyakin2020-05-26 21:43:33
Google Chrome
kirillinyakin, 2020-05-26 21:43:33

Why is the code in the Chrome developer panel different from the code when you click page source?

Hello, maybe a stupid question, why, for example, if you go to the Chrome developer panel, then there will be one code, and if you go to page source, then there will be code where certain tags are missing.
5ecd62a5d3d84493310171.png
For example, there is a div with the dropdown-options class, and if you go to page source, then nothing will be inside the same tag
5ecd633f79900113478140.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
galaxy, 2020-05-26
@kirillinyakin

Because in the panel on the Elements tab there is no code, the DOM structure of the page, after all the scripts have worked out.
Even if there is no script, the formatting and display features may differ from the page source.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question