যে উপাদানগুলির বৈশিষ্ট্যের মান একটি নির্দিষ্ট মানের সাথে শেষ হয়, তা নির্বাচন করতে [attribute$ =”value”] নির্বাচক ব্যবহার করুন।
আপনি CSS [attribute$ ="value"] সিলেক্টর প্রয়োগ করতে নিম্নলিখিত কোড চালানোর চেষ্টা করতে পারেন,
উদাহরণ
<!DOCTYPE html>
<html>
<head>
<style>
[alt$ = Connect] {
border: 5px solid blue;
border-radius: 5px;
}
</style>
</head>
<body>
<img src = "https://www.tutorialspoint.com/videotutorials/images/tutor_connect_home.jpg" height = "200" width = "200" alt = "Tutor Connect">
<img src = "https://www.tutorialspoint.com/videotutorials/images/tutorial_library_home.jpg" height = "200" width = "200" alt = "Tutorials Library">
</body>
</html>