And at the same time, HTML/CSS typography is in the stone age compared to LaTeX. No microtype without manually tweaked <span> soup, awful justified layout, CSS regions and columns are a work in progress, and all of this is unusable for print because there is no concept of pagination.
Good justification/hyphenation requires Javascript, yes. That's still an existing weakness. But there is absolutely pagination control.
HTML + CSS isn't perfect, of course, but the difference between HTML and professional typesetting is much, much smaller than the difference between Word and professional typesetting.