Answers for "target attribute css"

4

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;
}
Posted by: Guest on June-24-2020
21

css attribute selector

a[target="_blank"] {
  background-color: yellow;
}
/*w3schools*/
Posted by: Guest on April-06-2020

Browse Popular Code Answers by Language