JSFiddle - React, Tailwind, and code Playground
by merganser
HTML
<div id="page">
<p>You can add some basic HTML (Hypertext Markup Language) tags
to format the text in your messages. Tags open with a less-than sign (<)
and close with a greater-than sign (>), like this: <span class="bold"><p></span> </p>
<p>There are two kinds of HTML tags: paired and unpaired. </p>
<p>Paired tags require an opening tag that turns a formatting feature <span class="bold">on</span> and
a closing tag that turns the feature <span class="bold">off</span>.
Paired tags must surround the text you want formatted with that feature.
For example, <strong><u> </strong> and <strong></u> </strong> will
underline text. You must include the slash ( / ) in the closing tag
in order for the pair to work. </p>
<p>Unpaired tags work alone, and are usually placed before the text you
want formatted. </p>
<p class="h2 blueBackground"> Single
Carriage Return - <br> tag </p>
<div class="column2"> <span class="big"><u>To display</u>: </span>
<p>This is the first line of text.<br>
This is the second line of text.</p>
</div>
<div class="column2"> <span class="big"><u>Type</u>:
</span>
<p>This is the first line of text. <span class="bold"><br></span> <br>
This is the second line of text.
</p>
</div>
<p><span class="bold">Note:</span> <br> stands for <em>break</em> </p>
<p class="h2 blueBackground"> Double
Carriage Return - <p> tag</p>
<div class="column2">
<span class="big"><u>To display</u>: </span>
<p>Read this sentence first.</p>
<p>Read this sentence next. </p></div>
<div class="column2"><span class="big"><u>Type</u>: </span>
<p>Read this sentence first. <span class="bold"><p></span> <br>
...
CSS
.h2 {
font-size: 26px;
color: #666;
line-height: 1.5em;
}
.blueBackground {
background-color: rgba(172, 197, 237, .25);
}