It's one leg from the tripod letter soup (HTML, CSS and JS) on which the Web stands.
I am intrigued as to how you do this simple centering task without using CSS - it is a web page we are talking about here, not some other application that has sensible layout tools.
So please share what you know - it is a simple task - how do I center something - anything - vertically and or horizontally - in HTML without using CSS?
OTOH, and to be fair, 20 years ago HTML was for newspaper / magazine like text layout, and grid based layouts are great for single page apps. The thing that’s happened more recently than 20 years is the web changed from text & media content in a static scrolling page layout to all pages are applications.