Powered by:
FutureQuest Hosting


"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

Web Hosting
Shared       
Reseller     
VPS             
Dedicated 
Price:   $(US)
Space:     (MB)
Transfer:(GB)
Platform:


Advertise
Advertising Opportunities
Rate Card

Sponsor
Go Back   Webmaster Forums > Code Forum > CSS Forum


Reply
 
Thread Tools Rate this Webmaster Discussion
  #1  
Old 02-01-2009, 07:30 AM
adamsen's Avatar
adamsen adamsen is offline
Member
 
Join Date: Jan 2009
Location: Denmark
Webmaster Discussions: 126
Rep Power: 6
adamsen will become famous soon enough
<span>

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


__________________
W3schools
Practice makes expert
Reply With Quote
  #2  
Old 02-01-2009, 09:30 AM
rangana's Avatar
rangana rangana is offline
Moderator/Allstar
 
Join Date: Feb 2008
Location: Cebu City Philippines
Webmaster Discussions: 312
Rep Power: 19
rangana is a name known to all rangana is a name known to all rangana is a name known to all rangana is a name known to all rangana is a name known to all rangana is a name known to all
Send a message via Yahoo to rangana Send a message via Skype™ to rangana
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.
__________________
Please click the button when a member helped you.
Take time to use Forum's Search function.
Reply With Quote
  #3  
Old 11-05-2009, 12:19 PM
maiden maiden is offline
Junior Member
 
Join Date: Nov 2009
Webmaster Discussions: 1
Rep Power: 1
maiden is on a distinguished road
Re: <span>

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

Bookmarks

Tags
<span>

Thread Tools
Rate This Thread
Rate This Thread:

 

Similar Webmaster Discussions
Thread Webmaster Discussion Starter Forum Replies Last Post
span problem with Mozilla lovedearsmit CSS Forum 1 05-21-2008 08:21 PM
can <span> do this? uthus CSS Forum 1 06-18-2006 02:42 PM
Help Using Span jackkane CSS Forum 1 05-27-2006 06:24 PM
Span / border question Smith CSS Forum 2 06-30-2004 04:31 PM
Span, Scrollbars, Positions Aminalaizer CSS Forum 7 10-21-2003 08:12 AM


All times are GMT -5. The time now is 05:02 PM.

Copyright © 1999 - 2009 Advanced HTML For Beginners and AHFB2000. All rights reserved.
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.