Check out example codes for "how to add a title in html". It will help you in understanding the concepts better.

Code Example 1

<!DOCKTYPE html>
<html>
  <head>
    <title>This Is A Website Title...</title>
  </head>
  <body>
    <p>How to add a Title to a HTML website...</p>
  </body>
</html>

Learn ReactJs, React Native from akashmittal.com