jQuery :header Selector

Example

Select all heading elements (h1 - h6):

$(':header')

Try It Yourself

Definition and Usage

:header selector selects all heading elements (h1 - h6).

Syntax

$(':header')