[whatwg] href attribute
elharo at metalab.unc.edu
Sun Mar 4 15:17:01 PST 2007
Alexey Feldgendler wrote:
>> <ul id="main_nav">
>> <li href="/">Home</li>
>> <li href="/about/">About</li>
> 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!
More information about the whatwg