CSS Attribute Selectors is possible to style HTML elements that have specific attributes or attribute values.
<!DOCTYPE html>
<html lang="en">
<head>
<title>New Attribute Selector</title>
<style>
a[target]{
background-color:yellow;
color: red;
}
a[sis]{
background-color: green;
color: white;
}
</style>
</head>
<body>
<p>The links with a target attributes gets a yellow backgorund.</p>
<a href="https://globalinstitute.co.in/" target="">Global Institute, Mainpuri</a>
<br><br>
<a href="https://akashelectrical.co.in/" target="">Akash Electrical</a>
<br><br>
<p> sis is the new attribute created by developer.</p>
<a href="https://www.educationidol.in/" sis>Education Idol Website</a>
</body>
</html>
Show Output :