My container element is a <span>
and I want to display a <div>
element inside it. How can I add a <div>
inside a <span>
without making the <div>
display: inline;
?
<span>
<div>Content goes here</div>
</span>
See Question&Answers more detail:os