jQuery :image Selector (original) (raw)

Last Updated : 11 Jul, 2025

The **jQuery ****:image selector** is used to select the input elements with a type equal to the image.

**Syntax:

$(":image")

**Parameter: :enabled selector: It is used for selecting HTML input elements for changing its properties, e.g. background-color, etc.

**Example 1:

HTML `

:image Selector

Welcome to GeeksforGeeks!

Image

`

**Output: It changes the height of the image:

**Example 2:

HTML `

:image Selector

Welcome to GeeksforGeeks!.

Image

`

**Output: