In Firefox and Chrome, an anchor element <a> is rendered with display of inline.
<a>
display
inline
Except, when the anchor tag is a child of another element that has display of flexbox, then the anchor tag is rendered with display of block by default.
flexbox
block