Gabriel Vasquez wrote:

Hi List!

Ever since I've been using the standards approach to web design, I've never
used spans at all. What's the point of using them?

Thanks for your input!

Gabriel

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.673 / Virus Database: 435 - Release Date: 5/1/2004



*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************






Well, <span> is an inline element. You can use it for describing words or pieces of text that don't nessecerily have to consist of an entire block.

<p>
<span id="president">George W. Bush</span> is the president of the <span id="country">United States</span>.
</p>


Granted, there are many inline elements for specific purposes (<code>, <pre>, <q>, etc), but it's best to keep things semantic as this is, in essence, XML.
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to