Log in

View Full Version : Explain what is the use of span tag?



spobitsseo
07-26-2017, 02:16 AM
Explain what is the use of span tag?

mspcarservice
07-26-2017, 04:52 AM
The span tag is like the div tag. It has no meaning at all and is mostly used for styling by using an id or class.

reckonbilling
07-26-2017, 06:21 AM
A <span> tag is like the <strong>, <em>, or <b> tag except that it doesn't imply a specific meaning. It is a way to mark a range of text as being special in some way, but not say how it should be rendered. By using a <span> instead of something like <em> or <strong>, the stylesheet is completely free to restyle the element without the range inheriting and defaults like bold or italic as it would with other tags and without worrying about bastardizing the original meaning of the tag.

dennis123
07-26-2017, 07:57 AM
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 used with block-level content.

Andrewskyler
07-26-2017, 09:54 AM
The span tag is the same as the div tag. It does not make sense at all and most are used for styling using an id or class. The difference between the two is that the div is a block element, which lies on a separate line. Span however is an online element, which means it can be on a line with other elements

sonuS
07-26-2017, 11:58 AM
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 used with block-level content.

aegisinfoways
07-27-2017, 03:09 AM
The span tag is like the div tag. It has no significance at all and is mostly used for design by using an id or category.

jayashree-marg
07-27-2017, 03:13 AM
The span tag is used with inline elements whilst the div tag is used with block-level content.

tim_cloudcone
07-28-2017, 06:01 AM
The span tag is used to group inline-elements in a document. Similar to the div element, it provides no visual change at all. The only difference is div is a block element, which means it will be displayed in a new line. And the span is an inline element, which means the span will be displayed in the same line as the rest.

It can be used to do things like apply special styling to parts of a text using CSS.

jamephan2009
07-28-2017, 11:26 AM
It has no meaning at all and is mostly used for styling by using an id or class.

dyhair77
08-01-2017, 03:18 AM
Thanks For Your Information.

davidsmith21
08-01-2018, 07:35 AM
The span tag is like the div tag. It has no meaning at all and is mostly used for styling by using an id or class.