Element.querySelectorAll() use to add the all price in html table code example Example: select all elements javascript var elements = document.getElementsByTagName("*");