Check out example codes for "what is html used for". It will help you in understanding the concepts better.
Code Example 1
<!-- Answer to: "what is html used for" --> <!-- HTML is used to create electronic documents (called "pages") that are displayed on the World Wide Web. -->
Code Example 2
Learn ReactJs, React Native from akashmittal.com