Basically the translator reads the source document and creates a linked set of HTML pages, displaying the information it contains. Where such markup corresponds to the intended use for markup tags in the HTML language, a direct translation is made.
Many questions spring readily to mind.
Text and paragraphing clearly should appear as such, whether printed or on-screen. It also mentions some of the extra features that are available. Generation of an image is done only when there is no adequate textual construction with the required version of HTML , or when specifically requested to do so. Various extensions, to cope with the different HTML versions and extra features, are discussed elsewhere . The answer to such a question changes as the developer gains more experience with the available tools.