Check out example codes for "target css by form name". It will help you in understanding the concepts better.

Code Example 1

tag[name="nameofthetag"] {
	//style your html tag
}

Example: 
<input type="submit" value="Go" name="goButton">
input[name="goButton"] {
  background: red;
}

Learn ReactJs, React Native from akashmittal.com