Select By Element Type $("element")

This jQuery selector selects elements by their type. For example to select element of type <div> use $("div")

$("element")

e.g. $("div")

$("element") selects all elements of type element.

element is any HTML tagName e.g. <div>, <a>, <p>...etc.
Example 1: $("div") will select all <div>
<div id='someID'>div-1</div>
<div class='someClass'>div-2</div>
<p>p-1</p>
<div>div-3</div>
<span>span-1</span>

Demo: Find all <div> elements

HTML
<div>DIV 1</div>
<div>DIV 2</div>
<div>DIV 3</div>
jQuery code
$("div");
Demo

DIV 1
DIV 2
DIV 3
jQuery selector $("element")