+ 1

Why span tag is used

5th Aug 2020, 5:09 PM
Anandha Krishnan
4 Respuestas
+ 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 .
5th Aug 2020, 5:13 PM
Matias
Matias - avatar
+ 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
5th Aug 2020, 5:15 PM
David Paredes
David Paredes - avatar