Check out example codes for "anchor tag background image html". It will help you in understanding the concepts better.

Code Example 1

.login {
  background: url(../img/user.png) no-repeat 6px center;
  width: 100px;
  height: 100px;
  display: block;
}

Learn ReactJs, React Native from akashmittal.com