You are here: Re: A List of One. « HTML « IT news, forums, messages
Re: A List of One.

Posted by Davmon on 04/06/06 17:43

Barbara de Zoete arranged shapes to form:

> On Thu, 06 Apr 2006 15:14:53 +0200, Davémon <"davémon"@nospam.com> wrote:
>
>> <h1>Fangorn Forest<h1>
>> <ol>
>> <li>Oak Tree</li>
>> <li>Ash Tree </li>
>> <li>Beech Tree </li>
>> </ol>
>>
>> <h1>Lothlorien Wood</h1>
>> <ol>
>> <li>Mallorn Tree</li>
>> <ol>
>> As you can see, there is only one object in the second list,
>> so it isn't really a list, but it's the same type of information
>> as the other list, so makes sense to mark it up the same, and it
>> /could/ be a list in the future, if someone planted more trees.
>
> What you describe, seems to be a list item to me. And you can't use a list
> item outside a list. But indeed a list of one item seems odd. Couldn't you
> use:
>
> <ul>
> <li>Fangorn Forest
> <ol>
> <li>Oak Tree</li>
> <li>Ash Tree </li>
> <li>Beech Tree </li>
> </ol>
> </li>
> <li>Lothlorien Wood
> <ol start="1">
> <li>Mallorn Tree</li>
> </ol>
> </li>
> </ul>
>
> That way the list item and the one-list-item-list it is part of, is part
> of a larger, proper list.
>

Hmm. Great idea, but Fangorn and Lothlorien are 2 different documents...

> Additionally you would use css to style the list items of the first level
> to look like headings (or you could indeed mark them up as headings).

OOPS. I accidently set followups to ADG. Sorry, set back to alt.html now.

one of those days.



--

Davémon
http://www.nightsoil.co.uk/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация