@@j4nk3y
<img src="xxx" alt>
ist ungültig
Sagt wer?
das
alt
muss schon einen Wert bekommen
Den hat es.
“Attributes can be specified in four different ways:
Empty attribute syntax
Just the attribute name. The value is implicitly the empty string.” [Spec §8.1.2.3]
Damit es ein sinnvolles HTML-Dokument ist, muss alt
natürlich einen sinnvollen Wert haben.
LLAP 🖖
--
„Wenn du eine weise Antwort verlangst, musst du vernünftig fragen.“ —Johann Wolfgang von Goethe
„Wenn du eine weise Antwort verlangst, musst du vernünftig fragen.“ —Johann Wolfgang von Goethe