What is a span and when should I use one? - Stack Overflow A span has stricter requirements than a pair of iterators or a range: element contiguity and presence of the elements in memory Don't use a span if you have a standard library container (or a Boost container etc ) which you know is just the right fit for your code spans are not intended to supplant existing containers
html - Can you have a lt;span gt; within a lt;span gt;? - Stack Overflow A span isn't any different than a div except that by default the properties of each tend to be defined a certain way However, they're both just elements You could view a span as a block level element if you chose to do so I think you're using the embed method incorrectly
How to vertically center text in a lt;span gt;? - Stack Overflow A span is by default set to display: inline and the example you linked to works with divs that are by default set to display: block Try adding display: block to the css for your span and then following the advice in the link