How to hide all elements in a HTML page using jQuery?

In this example, I am going to show you how to hide all HTML elements present in a HTML page using jQuery.

As we know jQuery has so many in built functions to easily select or change DOM elements with minimal coding effort.

To hide all DOM elements, I am gonna use one such function out of existing jQuery functions called hide.

To select all DOM elements, we need to use ALL selector usually specified by the symbol “*” (Asterisk).

Enough talking let us dive into coding.

Read More