In CSS, selectors are patterns used to select the element you want to style.

Example :

Select and style all <p> elements:

<!DOCTYPE html>
<html>
<head>
	<title>About Element Selector</title>
	<style type="text/css">
		p {
			text-align: center;
			color: red;
			border: dashed;
		}
	</style>
</head>
<body>
	<P>First Paragraph</P>
	<p>Second Paragraph</p>
</body>
</html>

Show Output :

Ele Selectors Image
[social_share_button themes='theme1']

Leave a Comment