TIL: HTML Standard §13.1.2.4: Optional tags

· ? cm

Many end tags can simply be omitted in HTML5, making it read a bit like Markdown.

Like this:

<h1>
  This is a heading
  <p>This is a paragraph.</p>
</h1>

And even like this:

<table>
  <tr>
    <td>Table</td>
    <td>syntax</td>
    <td>
      has
      <tr>
        <td>never</td>
        <td>been</td>
        <td>easier!</td>
      </tr>
    </td>
  </tr>
</table>

See the HTML Standard, § 13.1.2.4 Optional tags