Check out example codes for "html meta tag icon for ink SHARING". It will help you in understanding the concepts better.

Code Example 1

<link rel="icon" href="demo_icon.gif" type="image/gif" sizes="16x16">

Learn ReactJs, React Native from akashmittal.com