Web is 25: word processors missed chance, static web content authoring with templates

Web is 25: word processors missed chance, static web content authoring with templates. By static web content authoring with templates, I mean: the ability to define content elements and their styling with only HTML, CSS and perhaps JavaScript, and be able to author the content elements and expect the tool to manage everything as a unit.