3 ms·
Do you also spell out the implicit <tbody> in all your tables for clarity?
by bentley 1y ago
Do you also spell out the implicit <tbody> in all your tables for clarity?
- ndegruchy 1y agoI do. `<thead>` and `<tfoot>`, too, if they're needed. I try to use all the free stuff that HTML gives you without needing to reach for JS. It's a surprising amount. Coupled with CSS and you can get pretty far without needing anything. Even just having `<template>` with minimal JS enables a ton of 'interactivity'.
- christophilus 1y agoYes. Explicit is almost always better than implicit, in my experience.
- tracker1 1y agoSometimes... especially if a single record displays across more than a single row. I almost always use thead.