3 Replies - 422 Views - Last Post: 08 May 2013 - 11:46 AM

#1 noahwilson  Icon User is offline

  • New D.I.C Head

Reputation: -8
  • View blog
  • Posts: 26
  • Joined: 06-May 13

Why are <span> tags useful?

Posted 08 May 2013 - 11:32 AM

Hi friends
I was just reviewing a brief tutorial on W3Schools and after reviewing <span> tags, I have a question. What are they for? please share your feedback.
Thanks.
Is This A Good Question/Topic? 0
  • +

Replies To: Why are <span> tags useful?

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8393
  • View blog
  • Posts: 31,213
  • Joined: 12-June 08

Re: Why are <span> tags useful?

Posted 08 May 2013 - 11:38 AM

They are a simple, 'no ui' change, tag to better format text and not need to use a DIV tag.

More like.. they are 'div' tags for text as opposed to 'div' tags are for document areas/objects/etc.
Was This Post Helpful? 0
  • +
  • -

#3 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3402
  • View blog
  • Posts: 9,617
  • Joined: 08-June 10

Re: Why are <span> tags useful?

Posted 08 May 2013 - 11:45 AM

View Postmodi123_1, on 08 May 2013 - 08:38 PM, said:

More like.. they are 'div' tags for text as opposed to 'div' tags are for document areas/objects/etc.

i.e. <div> is the generic block element and <span> is the generic inline element.
Was This Post Helpful? 2
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8393
  • View blog
  • Posts: 31,213
  • Joined: 12-June 08

Re: Why are <span> tags useful?

Posted 08 May 2013 - 11:46 AM

Them be those pesky words I was hunt'n for. :D
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1