User Tools

Site Tools


Sidebar

en:objects:span

span

Object for managing spans (elements with the SPAN tag) on the current page

Description
the SPAN Tag is used to define lowercase document elements. Unlike block elements such as table, p, or div, you can use the span tag to highlight some of the information inside other tags and set your own style for it. For example, you can change the color and size of the first letter inside a paragraph (the p tag) by adding the start and end span tags and defining the text style for them. To avoid describing the style inside the tag every time, you can select the style in the external style sheet, and add the class or id attribute with the selector name for the tag.

Learn more about the SPAN tag (source)



basic functionality

en/objects/span.txt · Last modified: 2020/10/06 18:08 (external edit)