- From: Elliotte Harold <elharo@metalab.unc.edu>
- Date: Sun, 04 Mar 2007 18:17:01 -0500
Alexey Feldgendler wrote: >> Navigation: >> <ul id="main_nav"> >> <li href="/">Home</li> >> <li href="/about/">About</li> >> </ul> > > How is this better than <li><a></a></li>, not taking the amount of > typing into account? One less nested element means a simpler, cleaner more navigable DOM. I'm not saying that's a sufficient advantage to justify the proposal, but the more ugly DOM code you've had to unravel the better this looks. -- ?Elliotte Rusty Harold elharo at metalab.unc.edu Java I/O 2nd Edition Just Published! http://www.cafeaulait.org/books/javaio2/ http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
Received on Sunday, 4 March 2007 15:17:01 UTC