[WSG] a structural markup question - revisit

2007-02-12 Thread Tee G. Peng

Hi, I just wanted to make sure I am not overly obsess with DL.

 After I finally learned how to used the DL properly, I have used it  
so sparingly in many websites in the past few months.



I learned, the DL is good for dialogues, for product teasers, but how  
about this (http://www.alistapart.com/topics/code)?



BROWSERS (44 articles)
Does your content travel well?...


CSS (81 articles)
Using Cascading Style Sheets (CSS) ...



I remember the first time I learned about the use of DL was actually  
studying ALAP's source code, and I remember it used to be marked up  
this way in the old site


dl

dtBROWSERS (44 articles)/dt

ddDoes your content travel well?.../dd

/dl



It is now with h2 and p tags.

My uncertainty is that, within a page, structurally, it  really  
should have only one h1, h2 and so on within an ID selector. So  
having so many set of h2+p isn't structural.


I am thinking perhaps using the following makes it more structural  
sounds and the em gives more weight for SEO.


pemBROWSERS/em/p

pDoes your content travel well?.../p



But I just can't get over with the DL :-)



tee













***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] a structural markup question - revisit

2007-02-12 Thread Matthew Pennell

On 2/12/07, Tee G. Peng [EMAIL PROTECTED] wrote:


My uncertainty is that, within a page, structurally, it  really
should have only one h1, h2 and so on within an ID selector. So
having so many set of h2+p isn't structural.



I guess you're getting that from the HTML spec, where it shows how to
associate content with its preceding heading by wrapping them in a div (or
other block level element).

My approach has always been that, by having a series of headings followed by
content, the content is implicitly associated with the heading that precedes
it, even if they are not enclosed by another element.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***