Check out example codes for "font name in html". It will help you in understanding the concepts better.

Code Example 1

p {
  font-family: "Times New Roman", Times, serif;
}

Code Example 2

font-family: "Times New Roman", Georgia, serif;
/* If the browser does not support the first font (ie: Times New Roman),
it will then try the next font (ie: Georgia). The last font should always
be a "generic-family" font (ie: serif, sans-serif, etc..).
/* If font is more then one word, it must be put into quotes. */

Code Example 3

p.a {
  font-family: "Times New Roman", Times, serif;

    }

p.b {
  font-family: Arial, Helvetica, 
    sans-serif;
}

Learn ReactJs, React Native from akashmittal.com