spanA span allows you to separate a section of text from the text around it. By default a span should not be visible to the reader unless you change the CSS that applies to it. <p>This is a <span>sample span</span> of text.</p> The code above will look the same throughout unless the span has styling applied to it. For example, if we have the following CSS code then the fonts will be different. p { The example above will be mostly black with the span in red. This is currently the "correct" way to handle font changes rather than using the <font> tag. |
