Check out example codes for "display string with line breaks html". It will help you in understanding the concepts better.

Code Example 1

<!-- Use <pre> for preformatted text
	 Can be combined with <code> for code blocks -->

<pre>
     <code>
       abbr[title] {
          border-bottom: 1px dotted #000;
       }
     </code>
</pre>

Learn ReactJs, React Native from akashmittal.com