Check out example codes for "title tag 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>

Code Example 2

<title>Title to appear in the browsers tab of the page</title>

Code Example 3

<html>
  <head>
    <title>Insert title here</title>
  </head>
</html>

Learn ReactJs, React Native from akashmittal.com