Ingo Turski: Ankerverweise und CSS-Buttons

Beitrag lesen

Hi,

Also in SelfHTML 8.0 stand afaik noch drinnen, dass man das mit IDs macht und nicht mit <a name="bla">. Warum wurde das rausgenommen?

In HTML macht man das nicht mit IDs, dazu ist eine XHTML-Version notwendig.

was meinst Du denn damit? Daß man es den alten Browsern wie Netscape 4 zuliebe nicht macht?
Und wieso sollte XHTML dazu notwendig sein, wenn es doch in der HTML 4.01-Spezifikation steht?

"Destination anchors in HTML documents may be specified either by the A element (naming it with the name attribute), or by any other element (naming with the id attribute)."

freundliche Grüße
Ingo