The PreTeXt conversion to HTML creates standard HTML elements, with styles controlled by CSS via class names (and not so much via the element names). As evidence of this, building HTML without the accompanying Javascript and CSS renders in a readable fashion, albeit quite plain (as one would expect).
This HTML is styled with CSS to create the output that a reader sees. There are multiple “themes” that a publisher can choose from to render the pages in different styles. Below are samples of available themes. See Subsection 44.4.13 for the syntax for specifying a theme and options like the color palette to use.