span element

Type:Text Characteristics
Attributes: color  •  font-family  •  font-feature-settings  •  font-stretch  •  font-style  •  font-variant  •  font-weight  •  font  •  justification-ratio  •  letter-spacing  •  outline-color  •  outline-width  •  overprint  •  requote  •  suppress-ligatures  •  text-decoration  •  text-transform  •  align  •  alt  •  background-color  •  background-image-dpi  •  background-image-position  •  background-image  •  background-pdf  •  border-color  •  border-style  •  border-width  •  border  •  clear  •  corner-radius  •  display  •  float  •  font-size  •  height  •  href  •  left  •  line-cap  •  line-height  •  line-join  •  margin  •  onmouseover  •  overflow  •  padding  •  page-break-after  •  page-break-inside  •  position  •  rotate  •  size  •  title  •  top  •  vertical-align  •  visibility  •  white-space  •  width  •  class  •  colorspace  •  direction  •  id  •  lang  •  pdf-tag-background-color  •  pdf-tag-border-color  •  pdf-tag-border-style  •  pdf-tag-border-thickness  •  pdf-tag-color  •  pdf-tag-list-numbering  •  pdf-tag-placement  •  pdf-tag-table-colspan  •  pdf-tag-table-headers  •  pdf-tag-table-rowspan  •  pdf-tag-table-scope  •  pdf-tag-table-summary  •  pdf-tag-text-align  •  pdf-tag-type
See:b i nobr o p strike tt u symbol zapf

The span tag delimits an arbitrary piece of text. You can apply styles to the span of text. In many cases it's more convenient to use one of the predefined spans (b, i, o, u, strike, tt, zapf, symbol or nobr), but the span tag gives more flexibility, especially when given a class attribute and used with a CSS stylesheet.

<span font-family="Helvetica" font-style="italic outline">
  This is in outlined Helvetica Italic
</span>