Currently, I am in the process of developing a website where I need to input information. To display this information, I decided to use a list within a paragraph. However, I noticed that after the list name, the text moves to another line which is not what I want. My goal is to have a smooth transition into a new paragraph after the list. Below are the images showing the output and my desired target:
<div class="history">
<h1 class="h-history">History</h1>
<p class="p">It was established in 1879....</p>
<h1 class="h-history">Areas and attractions</h1>
<p class="p"><li>Elephant House</li>is the first....</p>
</div>