what is span and when we use it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

what is span and when we use it?

12th Apr 2020, 5:46 PM
‎غنا قلبی‎
1 Answer
+ 3
The HTML <span> tag is used for grouping and applying styles to inline elements. There is a difference between the span tag and the div tag. The span tag is used with inline elements whilst the div tag is usedwith block-level content.
12th Apr 2020, 5:52 PM
Ayush Kumar
Ayush Kumar - avatar