What is the use of span tag?Give an example.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyrinNew
    Senior Member
    • Feb 2024
    • 5175

    #1

    What is the use of span tag?Give an example.

    Span tag for use is to group elements for styling purposes (by using the class or id attributes) to adding color to text and adding background text and highlight any color text.

    Example:








    on this page we use span.












    More...
Working...