What is the difference between $(‘div’) and $(‘ ‘) in jQuery? Technology Community › Category: jQuery › What is the difference between $(‘div’) and $(‘ ‘) in jQuery? 0 Vote Up Vote Down VietMX Staff asked 4 years ago $('<div/\>') : This creates a new div element. However this is not added to DOM tree unless you don’t append it to any DOM element. $('div') : This selects all the div element present on the page.