Optional HTML tags

It turns out that in HTML, some start tag or end tag are optional. This makes it very convenient when writing HTML manually. You can learn more by reading the specification on optional tags.

Here's an example of a valid HTML5 document:

<p>Welcome to this example.

Self-closing elements

Here are some frequently used elements from which we can omit the end tag:


This is an example.

Readbility 100
Fun 100
<p>This is an example.

  <li>That's the first point
  <li>That's the second point

    <td>Readbility <td>100
    <td>Fun        <td>100