Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Jun 2017
    Posts
    153

    Smile Explain what is the use of span tag?

    Explain what is the use of span tag?

  2. #2
    Registered User
    Join Date
    Sep 2016
    Posts
    48
    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.

  3. #3
    Junior Member
    Join Date
    Jul 2017
    Posts
    24
    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.

  4. #4
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    1,554
    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.

  5. #5
    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

  6. #6
    Registered User
    Join Date
    Aug 2015
    Location
    New Delhi, India
    Posts
    191
    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.

  7. #7
    Registered User
    Join Date
    Jan 2016
    Posts
    184
    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.

  8. #8
    Senior Member
    Join Date
    Apr 2016
    Location
    Bangalore
    Posts
    220
    The span tag is used with inline elements whilst the div tag is used with block-level content.

  9. #9
    Registered User tim_cloudcone's Avatar
    Join Date
    Jul 2017
    Posts
    6
    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.

  10. #10
    Registered User
    Join Date
    Jul 2017
    Posts
    3
    It has no meaning at all and is mostly used for styling by using an id or class.

  11. #11
    Registered User
    Join Date
    Feb 2015
    Location
    China
    Posts
    105
    Thanks For Your Information.

  12. #12
    Registered User
    Join Date
    Sep 2017
    Posts
    1,186
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.