To select multiple elements with jQuery, you can use a comma-separated list of selectors within the $() function. This allows you to apply actions or styles to multiple elements at once.
Syntax:
$("selector1, selector2, selector3");
Example:
If you want to select all paragraphs with the class intro, all divs with the class content, and the element with the ID mainHeader, you can write:
$(".intro, .content, #mainHeader").css("color", "blue");