Check out example codes for "how to change tab logo html". It will help you in understanding the concepts better.

Code Example 1

<link rel="icon" href="http://example.com/favicon.png">

Learn ReactJs, React Native from akashmittal.com