It is used to select elements with a specified attribute. It is possible to add css that have specific attributes or attribute values.

It is used to select elements with an attribute value containing a specified word.

Example

                                        

a[href="#"] {
background-color: yellow;
}

Suggest An Answer

No suggestions avaliable!