...different core objects. That is, html is built on top of the Document Object Model (DOM), whereas Adobe uses their own pdf document model. Means that the syntax and basic operators are the same, but the core objects which can be manipulated are different.