JSFiddle - React, Tailwind, and code Playground

by András Parditka

HTML

<table>
  <thead>
    <tr>
      <th>The Key That Wraps</th>
      <th>The Value That Wraps</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>It's supercalifragilisticexpialidocious even though the sound of it is</td>
      <td>Pneumonoultramicroscopicsilicovolcanoconiosis</td>
    </tr>
  </tbody>
</table>

CSS

td,
th {
  border: 1px solid black;
  overflow-wrap: anywhere;
}