Useful Commands & Techniques

  • Post author:
  • Post category:General
  • Post comments:0 Comments
  • Post last modified:August 28, 2024
  • Reading time:1 mins read

How to get the number of DOM elements used in a web page?

document.getElementsByTagName('*').length

Leave a Reply