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