Declarative vs Imperative features
Many document display specification formats provide are declarative. On one hand, they specify the logical components of a document. On the other hand, they enable specification of display rules or styles for each logical element of the document.
Yet, despite this, sometimes finer imperative control over document display is desirable.
Some languages provide both features, while others provide one or the other.