Hallo,
Und eben letzteres ist nicht optimal, wenn es sich um Inhaltsteile mit besonderer Bedeutung handelt.
HTML ist Inhalt, CSS ist Darstellung.
Ja, aber HTML hat nunmal keine speziellen Elemente für "Subjekt", "Prädikat", "Objekt" oder "Konstante", "Variable", "Nummer", "Literal" ...
Was schlägst Du also als Lösung für die Darstellung von Syntaxhighlighting via HTML vor?
viele Grüße
Axel