Check out example codes for "html multi like tag indentation convention". It will help you in understanding the concepts better.

Code Example 1

<div class="my-class" id="my-id" data-a="my value for data attribute a"
    data-b="my value for data attribute b" data-c="my value for data attribute c">
    The content of my div.
</div>
<!-- @see https://google.github.io/styleguide/htmlcssguide.html#HTML_Line-Wrapping-->

Learn ReactJs, React Native from akashmittal.com