[themes] Semantic HTML tags

Theodore Serbinski tss24 at cornell.edu
Wed Jan 11 23:38:08 UTC 2006


On 1/10/06, Kieran Lal <kieran at civicspacelabs.org> wrote:
> Trae and Chris could you review: http://drupal.org/node/44072


That's not a bad start, but that only deals with semantic headers :-)

I would make sure that guide mentions the following:

- menus: 99 to 1, your menu should be a list of links, styled
appropriately, not a bunch of <div> or | or etc, just a simple <ul>

- breadcrumbs: same thing, they should be a <ul> with appropriate styles

- content: content is content, it is <p> there is almost need to wrap
these in endless <div> or <span> just to give them cool colors, just
style the <p> directly in most cases, sometimes extra markup is needed
but generally i see *too* much markup

- definition lists: probably don't use them when you really should
(think image galleries) :
http://maxdesign.com.au/presentation/definition/

- style external links: http://maxdesign.com.au/presentation/external/

and probably lots of other things that can be mentioned about semantic
markup, some more useful articles here:
http://maxdesign.com.au/presentation/

as i don't have time to write anything up in detail (my schedule at
the moment is far too packed) these useful notes should be made.
whomever updates it, i'm more than willing to edit and critique just
don't have the time to write it up initially.

ted


More information about the themes mailing list