Hey I'm trying to do a CSS mock up of the CSS Garden XHTML but there are something I don't understand about...
1, why are there so many <span> tags in the markup? I don't really understand the purpose of these tags?
2, why don't the <p> introduce a line break between themselves?
One ends up with blocks of text like this:
Littering a dark and dreary road lay the past relics of browser-specific tags, incompatible DOMs, and broken CSS support.
Today, we must clear the mind of past practices. Web enlightenment has been achieved thanks to the tireless efforts of folk like the W3C, WaSP and the major browser creators.
I thought that in HTML <p> introduce line breaks between themselves? Is there a way to deal with this in CSS or do I need to use the <br/> tag in the markup itself?
Sorry if these questions are dumb. Thanks, Andy
1, why are there so many <span> tags in the markup? I don't really understand the purpose of these tags?
2, why don't the <p> introduce a line break between themselves?
One ends up with blocks of text like this:
Littering a dark and dreary road lay the past relics of browser-specific tags, incompatible DOMs, and broken CSS support.
Today, we must clear the mind of past practices. Web enlightenment has been achieved thanks to the tireless efforts of folk like the W3C, WaSP and the major browser creators.
I thought that in HTML <p> introduce line breaks between themselves? Is there a way to deal with this in CSS or do I need to use the <br/> tag in the markup itself?
Sorry if these questions are dumb. Thanks, Andy