+ 1
Why span tag is used
3 Answers
+ 2
The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang .
+ 1
The <span> tag is an inline container used to mark up a part of a text, or a part of a document.
The <span> tag is easily styled by CSS or manipulated with JavaScript using the class or id attribute.
The <span> tag is much like the <div> element, but <div> is a block-level element and <span> is an inline element.
https://www.w3schools.com/tags/tag_span.asp
+ 1
Always use the search bar:
https://www.sololearn.com/post/52212/?ref=app
https://www.sololearn.com/post/10362/?ref=app
https://www.sololearn.com/discuss/2108471/?ref=app
https://www.sololearn.com/discuss/1125131/?ref=app
https://www.sololearn.com/discuss/2048316/?ref=app
https://www.sololearn.com/discuss/927833/?ref=app
https://www.sololearn.com/discuss/1469041/?ref=app
https://www.sololearn.com/discuss/1287933/?ref=app
https://www.sololearn.com/discuss/2354448/?ref=app
https://www.sololearn.com/discuss/1546568/?ref=app
https://www.sololearn.com/discuss/2325725/?ref=app
https://www.sololearn.com/discuss/628672/?ref=app
https://www.sololearn.com/discuss/324298/?ref=app
https://www.sololearn.com/discuss/704076/?ref=app
https://www.sololearn.com/discuss/418887/?ref=app
https://www.sololearn.com/discuss/1376056/?ref=app
https://www.sololearn.com/discuss/1283863/?ref=app
https://www.sololearn.com/discuss/1885847/?ref=app