I am trying to display multiple headers all on the same horizontal line. So far, I am able to display two of them, but the third keeps falling down a line. The following is an image of the what it currently looks like:
The current code to display the headers:
<header>
<h1 class="text-sm display-3 font-weight-thin " style="text-align:center;float:left;" >Amazon</h1>
<h1 class="text-sm display-3 font-weight-thin " style="text-align:center;float:center;">BestBuy</h1>
<h1 class="text-sm display-3 font-weight-thin " style="text-align:right;float:right;">Target</h1>
<hr style="clear:all;"/>
</header>
display-3
class matters a lot here, but who knows?<hr>
tag does not use and does not need a closing slash and never has in HTML.