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

Code Example 1

<link rel="icon" href="icon_path" type="image/icon type">

Code Example 2

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

Learn ReactJs, React Native from akashmittal.com