in reply to Re: For valid HTML
in thread For valid HTML
Either way, the trailing slash will probably be at least optional.
At most optional. The slash being treated as optional is the best possible result, not the worst. The possible outcomes range from "incorrectly used and ignored" to "incorrectly used and gives an error". (Browsers don't support the correct use.) The OP's browser is apparently somewhere in the middle of that range since it ignores the error for rendering purposes while discretely notifying the user of the error ("red circle with an X in it").
especially with a doctype of 4.0 transitional that tells us to expect a jumble of tag soup
It sounds like you're saying transitional documents don't have to be well-formed, and that's not true.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: For valid HTML
by JavaFan (Canon) on Apr 05, 2010 at 20:59 UTC | |
by ikegami (Patriarch) on Apr 05, 2010 at 22:13 UTC | |
|
Re^3: For valid HTML
by rowdog (Curate) on Apr 06, 2010 at 04:40 UTC | |
by ikegami (Patriarch) on Apr 06, 2010 at 05:35 UTC | |
by rowdog (Curate) on Apr 06, 2010 at 22:18 UTC | |
by tye (Sage) on Apr 07, 2010 at 04:49 UTC | |
by jdporter (Paladin) on Apr 09, 2010 at 13:33 UTC | |
by rowdog (Curate) on Apr 08, 2010 at 19:03 UTC | |
by Lady_Aleena (Priest) on Apr 07, 2010 at 02:33 UTC |