Check out example codes for "how to change font color of h2 tag in html". It will help you in understanding the concepts better.

Code Example 1

<!doctype html>
<html>
  <head>
    <title>shivam the new hacker</title>
    <style>
      h2{font color="yellow"}
    </style>
  </head>
  <body>
    abc
  </body>
  <html>

Learn ReactJs, React Native from akashmittal.com