Check out example codes for "what is the code element in html". It will help you in understanding the concepts better.
Code Example 1
The HTML <code> element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. By default, the content text is displayed using the user agent's default monospace font
Learn ReactJs, React Native from akashmittal.com