CSS Property:
display:
inline
block
list-item
none
initial
Result:
A span element.
mySpan.
Another span element.
CSS Code:
span#mySpan {
background-color:red;
display:
inline
;
}
Click the property values above to see the result
W3Schools.com
- Play it