निर्दिष्ट विशेषता और मान वाले तत्वों का चयन करने के लिए [विशेषता ="मान"] चयनकर्ता का उपयोग करें।
आप CSS [attribute ="value"] Selector को लागू करने के लिए निम्नलिखित कोड को चलाने का प्रयास कर सकते हैं। यहां, हमने विशेषता को rel . के रूप में माना है ,
उदाहरण:
<!DOCTYPE html>
<html>
<head>
<style>
a[rel = nofollow] {
border: 3px solid blue;
}
</style>
</head>
<body>
<a href = "https://qries.com/What-is-Uber-s-business-model-and-how-does-it-compare-with-Ola-s-model-in-India" rel = "nofollow">Uber's Business Model</a><br><br>
<a href = "https://www.qries.com/How-does-share-market-work-in-India" rel = "noreferrer">Share Market</a>
</body>
</html>