The :header Selector is used to select all the heading elements that is from (<h1> to <h6>).
Example: Change the color of all headings to green .
Supported Browsers: The browser supported by jQuery :Header Selector are listed below:
- Google Chrome
- Internet Explorer
- jQuery | :gt() Selector
- jQuery | #id Selector
- jQuery | :not() Selector
- jQuery | :first Selector
- jQuery | :contains() Selector
- jQuery | :has() Selector with example
- jQuery | :odd Selector
- jQuery | :even Selector
- jQuery | * Selector
- jQuery | :lt() Selector
- jQuery | :last Selector
- jQuery | :visible Selector
- jQuery | :root Selector
- jQuery | :only-of-type Selector
- jQuery | :button Selector
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : shubham_singh