The difference between this element and the DIV element is that the span element works inline, and the div element creates block-level content. With block-level content, most browsers surround the block by whitespace, starting at a new line.
<!ELEMENT SPAN - - (%inline;)* -- generic language/style container --> <!ATTLIST SPAN %attrs; -- %coreattrs, %i18n, %events -- >from the HTML 4.0 DTD, "Copyright © W3C, (MIT, INRIA, Keio). All Rights Reserved."
In the next lines the color and fontsizes of the text
|
In the next lines the color and fontsizes of the text
has been set with style sheet elements: This line uses white text This is a font size of 20 points |