<span> tag in HTML

The <span> tag is used to create a styling scope in inline element or it used for grouping some element for styling in document.

Important Description

  • The <span> has no effect on any html element but with CSS and JavaScript it plays grate role for styling html content.
  • Open and close tag required of <span>.
  • The <span> element tag provides no visual change by itself.

Example of <span> tag

Result Look Like

I have a white cat pet.

<span> Tag Browser Support

Element Chrome Edge Firefox Safari Opera
<span> Yes Yes Yes Yes Yes

Global Attributes

Event Attributes

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at ""

© 2021 GDATAMART.COM (All Rights Reserved)