On Sun, 07 Sep 2003 20:09:04 +0100, Daniel Herding DHerding@gmx.de gave utterance to the following:
When you create links within headings, like on http://de.wikipedia.org/wiki/Afrika , wikipedia creates invalid HTML because it opens an <a> tag within another <a> tag: The outer one for the TOC anchor, the inner one for the link.
I don't know if it's a problem for any browser, but it can easily be fixed by closing the first tag before opening the second.
Example: use
<H3><a name="Nordafrikanische_Staaten"></a><a href="http://de.wikipedia.org/wiki/Nordafrika" class='internal' title="Nordafrika">Nordafrikanische</a> Staaten</H3>
instead of
<H3><a name="Nordafrikanische_Staaten"><a href="http://de.wikipedia.org/wiki/Nordafrika" class='internal' title="Nordafrika">Nordafrikanische</a> Staaten</a></H3>
Or would the more elegant solution be to use <H3 id="Nordafrikanische_Staaten"> (IIRC some browsers don't work with completely empty anchors - and Netscape 4 users must be so used to functions not working that I don't think it matters that the TOC won't work for them if it uses id. THey know what to do if they want the web to work properly.