Hi Gabriel,
Spans are inline elements, that is, they can be used, for instance, to
highlight a area within another element, i.e. to change the colour of a few
words to enhance a look.
Divs are block level elements, effectively describing and enclosing a
logical block, a menu structure for
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).
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?
In addition to what Mike wrote, they, like divs, can be used as hooks
for style rules. In other words, if there is something which you wish to
style, but there isn't
Thank you for clearing that up Mike and Noa, I appreciate it!
Gabriel
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list getting help