Pseudo-class :header in jQuery
The pseudo-class header selects all headings from h1 to h6 at once.
Let's use the following example to get and color all headings with the class www in blue:
$(':header.www').css('color', 'blue');
Get and color all the headings red.
Get and color red all headings with class zzz.
Get and color in red all the headings that immediately follow the titles.
Get and color red all headings with class test that immediately follow headings with class test.