See JavaScript. Following paragraph contains

[A] [B] [C]

(where [B] and [C] are in elements, [A] and [D] in nodes)