Tabelle auf Smartphone nicht sortierbar
bearbeitet von
@@dedlfix
> > Zum einen haben `td`s im `thead` i.A. nichts zu suchen; für Kopfzellen sind `th`-Elemente da.
>
> Die HTML5-Spec sieht das anders: [The thead element](https://html.spec.whatwg.org/multipage/tables.html#the-thead-element).
Nein.
Falls du auf _„Notice the use of both th and td elements in the thead element: the first row is the headers, and the second row is an explanation of how to fill in the table‟_{: lang="en"} anspielst: Auch in diesem Beispiel sind die Kopfzellen (die Spaltenüberschriften mit `th` ausgezeichet.
Kopfzellen ≠ alle Zellen im `thead`.
Und Kopfzellen kann es auch im `tbody` geben: üblicherweise die jeweils ersten Zellen jeder Zeile.
LLAP 🖖
--
_“You might believe there are benefits for the developer, but first of all, you should put those behind the interest of the user.”_{: lang="en"} —Stefan Tilkov
_[Selfcode](http://community.de.selfhtml.org/fanprojekte/selfcode.htm): `sh:) fo:} ch:? rl:) br:> n4:& va:| de:> zu:} fl:{ ss:| ls:# js:|`_{: style="display: block; font-size: 0.875em; font-style: inherit; margin-top:1.5em"}