DONT ADD ANYTHING HERE!

In a well-formed document
  1. All elements are well-formed
  2. A single element, known as the root element, contains all of the other elements in the document
A well-formed element is one that is either
  1. Opened and subsequently closed
  2. An empty element

Example

The following are not well-formed
<i><b>word</i>

<i><b>word</i></b>
                        

Notes

But, according to CSS Tricks, HTML need not be well-formed. In particular
  1. Documents may not be well-formed
  2. Element and attribute names may not be in lower case.
  3. For non-empty elements, end tags are not always required.
  4. Attribute values may not always be quoted.
  5. Entity references as hex values may not only be in lowercase

Mnemonic

References