Results 1 to 4 of 4

Thread: What is the span tag?

  1. #1
    Join Date
    Apr 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What is the span tag?

    What is span tag?
    I am new in CSS any one help to me for span.

    Thanks
    Last edited by Snookerman; 05-12-2009 at 09:13 PM. Reason: merged posts, fixed title

  2. #2
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default the span tag

    try this link

    http://www.w3schools.com/TAGS/tag_span.asp

    BTY this site has many easy to understand tutorials about HTML,javascript,css and alot of other good stuff!

  3. #3
    Join Date
    May 2009
    Posts
    17
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I don't really know, but it should only be used for adding a bit of style to a string of text.
    Code:
    <span style="font-family: arial; border: 1px solid #ccc; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 10px; margin: 10px; background: #4cc147; color: #3eb3e9">Here is the output text.</span>

  4. #4
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default

    that is what is referred to as an "inline" style where the span tag is used to define a style with span tags

    You can also use <style> tag to assign all the formatting to a <P> <a> or any other tag you like -Look at the tutorial it will go into that and how to use style sheets.

Tags for this Thread

Bookmarks

Posting Permissions

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