There are a couple of things about this one-liner that might not be obvious. First, the "text" that makes up an element's content isn't just character data, but also tags and any other kind of markup.

Secondly, there is potential for confusion between the content of an element, which is whatever tags and text that it contains, and the very specific term element content.

Back-link to spec

Copyright © 1998, Tim Bray. All rights reserved.