78 users online (1 members and 77 guests)  

Thread: <span>


  Results 1 to 3 of 3

Related

  1. can <span> do this?    Forum: CSS Forum
    Replies: 1
  2. can <span> do this?    Forum: HTML Forum
    Replies: 0
  3. Help Using Span    Forum: CSS Forum
    Replies: 1
  4. Span / border question    Forum: CSS Forum
    Replies: 2
  5. Span, Scrollbars, Positions    Forum: CSS Forum
    Replies: 7
  1. #1
    adamsen's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    128

    <span>

    What is the <span>-tag for? Is it the same as the <div>-tag?

  2. #2
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: <span>

    span tag is different from div tag.

    The former is an inline-level element and the later is a block-level.

    span tag is most used to hook a text in the document. When your element is inside the span tag, you have the ability to style them differently from the rest of the text.

    For further reading:
    http://www.w3schools.com/TAGS/tag_span.asp

    Hope that helps.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  3. #3
    maiden's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2009
    Posts
    1

    Re: <span>

    exactly! a span is usually used inside another element to customize text in a different way!



Tags for this Thread