Main Page | See live article | Alphabetical index

Well-formed tag

In web page design, a well-formed tag is one that is either

  1. opened and closed,
  2. an empty element, which still must be terminated,

and is properly nested and does not overlap.

For example, word is a well-formed tag, while word is not, since the bold tag is not closed.