4. General Sibling Selector
The general sibling selector selects all elements that come anywhere after a specified element.

Example
Code


Output
paragraph 1
heading 4
paragraph 2
heading 5
paragraph 3
paragraph 4
Cascading Stylesheets Tutorial
The general sibling selector selects all elements that come anywhere after a specified element.
Code
Output
paragraph 1
paragraph 2
paragraph 3
paragraph 4