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:

<!DOCTYPE HTML>
<title>Hello</title>
<p>Welcome to this example.

Self-closing elements

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

Example

This is an example.

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

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

<table>
  <tr>
    <td>Readbility <td>100
  <tr>
    <td>Fun        <td>100
</table>