type attribute selector css code example
Example 1: target css by form name
tag[name="nameofthetag"] {
//style your html tag
}
Example:
<input type="submit" value="Go" name="goButton">
input[name="goButton"] {
background: red;
}
Example 2: css attribute selector
a[target="_blank"] {
background-color: yellow;
}
/*w3schools*/
Example 3: css atrubute selector
css attribute selector