how to add lines between div rows html

HTML
.divider {
  border-bottom: 1px solid black;
}

<p class="divided">
  <span>Content 1</span>
  <span class="divider"></span>
  <span>Content 2</span>
</p>
Source

Also in HTML: