2 Probleme beim validieren

Status
Nicht offen für weitere Antworten.
Die Fehler werden doch eindeutlich beschrieben:
  1. The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
  2. You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
Übrigens ist die XML-Schreibweise des leeren br-Elements (<br />) in HTML nicht erlaubt.
 
  1. Inline-Elemente müssen Kinder eines Block-Elements sein.
  2. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute) […]
    Das target-Attribut existiert in HTML 4.01 Strict nicht.
 
ja, das kann ich selber daraus lesen.

Aber es sollte doch auch alternativen dazu geben, wie ich das ganze dennoch so hinbekomme, wie es soll.

Könntest du mir da evtl. schnell je ein Beispiel für beide hinzaubern :)

EDIT: Problem mit den hidden inputs soeben behoben :)
 
Zuletzt bearbeitet:
Setze einfach die versteckten Formularfelder in ein Block-Element, und entferne die target-Attributdeklaration oder nutze HTML 4.01 Transitional.
 
Status
Nicht offen für weitere Antworten.
Zurück