You can't cut of all the CSS; you likely want to honor things like `display: none`, and also colors, and preferably bold, italic, and underline.
You might enjoy various https://charm.sh/ apps, especially https://github.com/charmbracelet/wish. They seem to prefer SSH to telnet though.