CLN: io/formats/html.py: refactor
- [ n/a] follow-on from #22726
- [x] tests ~~added~~ / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

remove `max_rows` and `max_cols` from `HTMLFormatter` as truncation is now handled by `DataFrameFormatter`

note: this PR should be orthogonal to #22655