Check out example codes for "what content-type is html". It will help you in understanding the concepts better.

Code Example 1

Content-Type:text/html

Learn ReactJs, React Native from akashmittal.com