Gergely Buday wrote:
Hi there,
I am to format a dictionary onto my wordpress site.
Words and definitions.
I know that there are <dl> <dt> and <dd> elements for definition
lists, terms and their definitions.
But: is this the modern way of formatting a defintion list, or are
there better ones, from a css perspective?
I do not think that your choice of (HTML) markup should be influenced by
what is "good" from a CSS perspective. Your HTML should indicate the
structure (i.e., the semantics) of your document; your CSS should then
style that CSS (i.e., influence its form). From /my/ perspective, <DL>
(="Definition list"), <DT> ("Definiens") and <DD> ("Definiendum") appear
the perfect match to classic dictionary semantics.
As is often the case, Jukka Korpela has something very worthwhile to say
on the topic <http://jkorpela.fi/def.html>.
Philip Taylor
______________________________________________________________________
css-discuss [css-d@css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/