View Page Source vs Inspect Element

Advantages of view page source:

  • A lot easier to read than inspect element when it works
  • Has a line counter on the left
  • Less confusing, easier to use than inspect element

Advantages of inspect element:

  • Has multiple tabs
  • Shows errors
  • Shows the current page, not just what the code of the URL would be
  • Has containers
  • Many more options

Which one you should use honestly depends. Viewing page source is a lot better for quickly seeing what the code is but inspecting lets you see how the code works, at the cost of being easily readable. I’d prefer viewing page source for most webpages.

Leave a Reply

Your email address will not be published. Required fields are marked *