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

Posted by Davιmon on 04/06/06 16:14

I keep doing this, and it just seems wrong to me.

I'll set up a page structure, or a uniform way of grouping things, using a
list For Example:

<h1>Fangorn Forest<h1>
<ol>
<li>Oak Tree</li>
<li>Ash Tree </li>
<li>Beech Tree </li>
</ol>

and then...

<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. It seems semantically wrong to have a list
of one, is there a better solution? or am I just mad?


--

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация