I'm trying to place text after another text but both are aligning in same line. Please help me with this.
<a class="text-dark" href="">become a driver</a>
<a class="text-dark" href="">driver</a>
Make your a
tag or .text-dark
class display:block
a {
display:block
}
<a class="text-dark" href="">become a driver</a>
<a class="text-dark" href="">driver</a>
There is a couple of ways you can do this, here are a few:
.text-dark {
display: block;
}
<a class="text-dark" href="">become a driver</a>
<a class="text-dark" href="">driver</a>
<a href="">become a driver</a><br/>
<a href="">driver</a>
`, this is basic HTML – Alon Eitan Mar 17 '19 at 07:15