1.

What is attributes in CSS and how they used?

Answer»

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;
}



Discussion

No Comment Found