Answer: This is done using
[attribute~=value] selector attribute which is used to select elements with an attribute value containing a specified word.
For Example:-
<style type="text/css">
[title~=View]
{
border-color:blue;
}
</style>
<img src="img_view_details.jpg" title="View Details" width="20" height="15" />
<img src="img_flwr.gif" title="View Image" width="100" height="100" />
Asked In: Many Interviews |
Alert Moderator