While working with Bootstrap 4, I noticed that the a tag is being displayed before the button when using the following code. Can anyone explain why?
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#navbar-header" aria-controls="navbar-header" aria-expanded="false" aria-label="Toggle navigation"></button>
<a class="navbar-brand hidden-sm-up" href="#">My Company</a>